Re: [PATCH] netdev: Reset ipv4 flags during bundle creation on interfamily ipsec

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Joakim Koskela
Date: Sunday, October 21, 2007 - 11:55 pm

On Friday 19 October 2007 17:25:49 Herbert Xu wrote:

Hi, and thanks for the feedback. True, this one affects only one level of 
inter-family, and supporting more would require a lot more changes in the 
bundle creation (perhaps combining both versions and taking better into 
account the outer family of the last transformation..). 

Another quite annoying example of this is that 6 in 4 actually crashes the 
kernel on 64 bit, as xfrm_dst_lookup around xfrm6_policy.c:197 changes rt 
from a rt6_info to a rtable. On 64 bit, rt->rt61i_node will usually contain 
something (due to the larger pointer size), making the path_cookie assignment 
on line 208 crash.

I've been trying address this in a proper manner, but it hasn't really 
progressed quite the way I've wanted (..thus this shallow patch, just to make 
6-4 inter-work in most cases on the standard kernel). Needless to say, any 
work done for this would be greatly appreciated :)

-
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:
[PATCH] netdev: Netfilters on outgoing interfamily ipsec, Joakim Koskela, (Fri Oct 19, 4:37 am)
Re: [PATCH] netdev: Reset ipv4 flags during bundle creatio ..., Joakim Koskela, (Sun Oct 21, 11:55 pm)