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)
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

Simple merge
Simple merge
Simple merge