diff options
author | Jan Engelhardt <jengelh@inai.de> | 2012-09-21 22:26:52 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-10-21 09:17:11 -0700 |
commit | dfd5603c251a87fbfcaef5d492656ae9011c9f7a (patch) | |
tree | 0ab867b98003b8b1eb41fa06887f5d0267b0cda6 /kernel/backtracetest.c | |
parent | fb3c4ac3ad18c262fed504ab6f666edbff304e63 (diff) | |
download | lwn-dfd5603c251a87fbfcaef5d492656ae9011c9f7a.tar.gz lwn-dfd5603c251a87fbfcaef5d492656ae9011c9f7a.zip |
netfilter: xt_limit: have r->cost != 0 case work
commit 82e6bfe2fbc4d48852114c4f979137cd5bf1d1a8 upstream.
Commit v2.6.19-rc1~1272^2~41 tells us that r->cost != 0 can happen when
a running state is saved to userspace and then reinstated from there.
Make sure that private xt_limit area is initialized with correct values.
Otherwise, random matchings due to use of uninitialized memory.
Signed-off-by: Jan Engelhardt <jengelh@inai.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Acked-by: David Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/backtracetest.c')
0 files changed, 0 insertions, 0 deletions