]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
Fix IPCOMP crashes.
authorPatrick McHardy <kaber@trash.net>
Wed, 18 Jul 2007 09:26:27 +0000 (02:26 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 9 Aug 2007 21:27:26 +0000 (14:27 -0700)
commit3ee0edac473755afa68715acd1d0e569044bae39
tree414fc3083b14348dcbf262bd7403cebd775516d8
parentc1bb818242296c121ff574cb1fec2bc0127d6b31
Fix IPCOMP crashes.

[XFRM]: Fix crash introduced by struct dst_entry reordering

XFRM expects xfrm_dst->u.next to be same pointer as dst->next, which
was broken by the dst_entry reordering in commit 1e19e02c~, causing
an oops in xfrm_bundle_ok when walking the bundle upwards.

Kill xfrm_dst->u.next and change the only user to use dst->next instead.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
include/net/xfrm.h
net/xfrm/xfrm_policy.c