Re: [PATCH] [RFC] C/R: inet4 and inet6 unicast routes (v2)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: jamal
Date: Monday, May 3, 2010 - 1:34 pm

On Mon, 2010-05-03 at 07:21 -0700, Dan Smith wrote:


I may not have made my point earlier:
Let me give you an example by looking at your migration attributes..

-----
+            __be32 inet4_len;          /* mask length (bits)*/
+            __u32  inet4_met;          /* metric            */
+            __be32 inet4_dst;          /* route address     */
+            __be32 inet4_gwy;          /* gateway address   */
-----

At some point i had a discussion with some folks on netdev where it
seemed valueable to add a fwmark to the route. If such is made, I dont
see what the motivation for whoever is codifying to add it to your
attributes so you can migrate the fwmark. One good motivation is to make
sure the main route code fails to compile if your attributes dont get
modified - this could happen if you re-use the same data structures as
the kernel etc.


True - but you still need to worry about compat issues etc i.e when you
migrate to a remote kernel they better have the same features and kernel
config.. I am assuming this is not hard to impose on an admin.
Doing things in user space allows for doing more interesting things like
negotiating on capabilities etc


Maybe the answer is to start by formalizing that, not sure.

cheers,
jamal

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] [RFC] C/R: inet4 and inet6 unicast routes (v2), Serge E. Hallyn, (Fri Apr 30, 11:19 am)
Re: [PATCH] [RFC] C/R: inet4 and inet6 unicast routes (v2), Serge E. Hallyn, (Fri Apr 30, 11:37 am)
Re: [PATCH] [RFC] C/R: inet4 and inet6 unicast routes (v2), Daniel Lezcano, (Fri Apr 30, 1:35 pm)
Re: [PATCH] [RFC] C/R: inet4 and inet6 unicast routes (v2), jamal, (Mon May 3, 1:34 pm)