From: Joakim Koskela <[EMAIL PROTECTED]> Date: Thu, 6 Sep 2007 19:00:10 +0300
> This patch addresses a couple of issues related to interfamily ipsec > modes. The problem is that the structure of the routing info changes > with the family during the __xfrmX_bundle_create, which hasn't been > taken properly into account. Seems that by coincidence it hasn't > caused problems on 32bit platforms, but crashes for example on x86_64 > in 6-4 around line 209 of xfrm6_policy.c as rt doesn't point to a > rt6_info anymore, but actually a struct rtable. With 64bit pointers, > the rt->rt6i_node pointer seems to hit something usually not null in > the rtable that rt now points to, making it go for the path_cookie > assignment and subsequently crashing. > > Tested on both 32/64bit with all four (44/46/64/66) combinations of > transformation. I'm still a bit worried about how for example nested > transformations work with all of this and would appreciate if someone > more familiar with the details of these structs could comment. > > Signed-off-by: Joakim Koskela <[EMAIL PROTECTED]> This fix basically looks fine to me, but I'd like at least one other person to review it too. - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html