]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
netfilter: nf_conntrack: table max size should hold at least table size
authorHagen Paul Pfeifer <hagen@jauu.net>
Fri, 20 Feb 2009 09:47:09 +0000 (10:47 +0100)
committerPatrick McHardy <kaber@trash.net>
Fri, 20 Feb 2009 09:47:09 +0000 (10:47 +0100)
commite478075c6f07a383c378fb400edc1a7407a941b0
tree0eb38291887bde44db0f6256c449401c0ab41000
parent784544739a25c30637397ace5489eeb6e15d7d49
netfilter: nf_conntrack: table max size should hold at least table size

Table size is defined as unsigned, wheres the table maximum size is
defined as a signed integer. The calculation of max is 8 or 4,
multiplied the table size. Therefore the max value is aligned to
unsigned.

Signed-off-by: Hagen Paul Pfeifer <hagen@jauu.net>
Signed-off-by: Patrick McHardy <kaber@trash.net>
include/net/netfilter/nf_conntrack.h
net/netfilter/nf_conntrack_core.c