summaryrefslogtreecommitdiff
path: root/net/xfrm/xfrm_ipcomp.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2016-10-11 05:39:04 (GMT)
committerDavid S. Miller <davem@davemloft.net>2016-10-11 08:44:37 (GMT)
commitbd3769bfedb2b65af61744e9b40b1863e0870e2b (patch)
treeed93fc7163fd447c104c23c3238cd919524dac59 /net/xfrm/xfrm_ipcomp.c
parentd24cd733bae8fc6c121c437b3197ab7f3930ca66 (diff)
downloadlinux-bd3769bfedb2b65af61744e9b40b1863e0870e2b.tar.xz
netfilter: Fix slab corruption.
Use the correct pattern for singly linked list insertion and deletion. We can also calculate the list head outside of the mutex. Fixes: e3b37f11e6e4 ("netfilter: replace list_head with single linked list") Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Reviewed-by: Aaron Conole <aconole@bytheb.org> Signed-off-by: David S. Miller <davem@davemloft.net> net/netfilter/core.c | 108 ++++++++++++++++----------------------------------- 1 file changed, 33 insertions(+), 75 deletions(-)
Diffstat (limited to 'net/xfrm/xfrm_ipcomp.c')
0 files changed, 0 insertions, 0 deletions