]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
netfilter: fix hardcoded size assumptions
authorHagen Paul Pfeifer <hagen@jauu.net>
Fri, 20 Feb 2009 09:48:06 +0000 (10:48 +0100)
committerPatrick McHardy <kaber@trash.net>
Fri, 20 Feb 2009 09:48:06 +0000 (10:48 +0100)
commitaf07d241dc76f0a52c7ff04df3a3970020fe6157
treec1461cfc8c0ab342996efd6982e9b376dea62f54
parente478075c6f07a383c378fb400edc1a7407a941b0
netfilter: fix hardcoded size assumptions

get_random_bytes() is sometimes called with a hard coded size assumption
of an integer. This could not be true for next centuries. This patch
replace it with a compile time statement.

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