diff options
| author | Linus Torvalds <[email protected]> | 2016-10-11 05:39:04 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2016-10-11 08:44:37 +0000 |
| commit | bd3769bfedb2b65af61744e9b40b1863e0870e2b (patch) | |
| tree | ed93fc7163fd447c104c23c3238cd919524dac59 /lib/debugobjects.c | |
| parent | Merge branch 'be2net-fixes' (diff) | |
| download | kernel-bd3769bfedb2b65af61744e9b40b1863e0870e2b.tar.gz kernel-bd3769bfedb2b65af61744e9b40b1863e0870e2b.zip | |
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 <[email protected]>
Reviewed-by: Aaron Conole <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
net/netfilter/core.c | 108 ++++++++++++++++-----------------------------------
1 file changed, 33 insertions(+), 75 deletions(-)
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
