netfilter: nf_conntrack: restrict runtime expect hashsize modifications
authorAlexey Dobriyan <adobriyan@gmail.com>
Thu, 4 Feb 2010 17:24:06 +0000 (18:24 +0100)
committerPatrick McHardy <kaber@trash.net>
Thu, 4 Feb 2010 17:24:06 +0000 (18:24 +0100)
commit38c7233b287481dfb3327dde136801ce500aba58
tree5778bd7d0ab1a7002b95f2662b226bb00cace6d7
parentab59b19be78aac65cdd599fb5002c9019885e061
netfilter: nf_conntrack: restrict runtime expect hashsize modifications

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>
Cc: stable@kernel.org
Signed-off-by: Patrick McHardy <kaber@trash.net>
net/netfilter/nf_conntrack_expect.c