]> git.baikalelectronics.ru Git - kernel.git/commit
[XFRM]: Fix crash introduced by struct dst_entry reordering
authorPatrick McHardy <kaber@trash.net>
Wed, 18 Jul 2007 08:55:52 +0000 (01:55 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Jul 2007 08:55:52 +0000 (01:55 -0700)
commitc4cc3f7cf672b549051bd8f73d0f65a617702838
tree7a637d217e6f090f3eebe127a11fcbfaabc1c3cd
parent89c2a734cd0aedb83c8a46aeb265fe10575e8213
[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 19b91240~, 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>
include/net/xfrm.h
net/xfrm/xfrm_policy.c