]> git.karo-electronics.de Git - karo-tx-linux.git/commit
netfilter: nf_conntrack: restrict runtime expect hashsize modifications
authorAlexey Dobriyan <adobriyan@gmail.com>
Mon, 8 Feb 2010 19:17:22 +0000 (11:17 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 23 Feb 2010 15:37:53 +0000 (07:37 -0800)
commit51d3a347944f76bc2f304e0622d61b9b39fec585
tree1cec1d179455a95d6b1968b1a491e64dad6975bd
parent747edef00c9b2147ca0b3d5bc33e9291a9a6d86e
netfilter: nf_conntrack: restrict runtime expect hashsize modifications

commit 13ccdfc2af03e09e60791f7d4bc4ccf53398af7c upstream.

Expectation hashtable size was simply glued to a variable with no code
to rehash expectations, so it was a bug to allow writing to it.
Make "expect_hashsize" readonly.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/netfilter/nf_conntrack_expect.c