summaryrefslogtreecommitdiff
path: root/net/ipv4/netfilter/nf_nat_core.c
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2008-04-09 22:14:18 (GMT)
committerDavid S. Miller <davem@davemloft.net>2008-04-09 22:14:18 (GMT)
commit1b9b70ea2ebaab26c3e4fed385dfab6fc16359ed (patch)
treedad450564144193ea3591a491cc24665f4b22224 /net/ipv4/netfilter/nf_nat_core.c
parentb41f5bfff73f244101b34f3603974ef7aeadf545 (diff)
downloadlinux-1b9b70ea2ebaab26c3e4fed385dfab6fc16359ed.tar.xz
[NETFILTER]: xt_hashlimit: fix mask calculation
Shifts larger than the data type are undefined, don't try to shift an u32 by 32. Also remove some special-casing of bitmasks divisible by 32. Based on patch by Jan Engelhardt <jengelh@computergmbh.de>. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/netfilter/nf_nat_core.c')
0 files changed, 0 insertions, 0 deletions