diff options
author | 2008-04-09 15:14:18 -0700 | |
---|---|---|
committer | 2008-04-09 15:14:18 -0700 | |
commit | 1b9b70ea2ebaab26c3e4fed385dfab6fc16359ed (patch) | |
tree | dad450564144193ea3591a491cc24665f4b22224 /security/selinux/netlink.c | |
parent | Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6 (diff) | |
download | wireguard-linux-1b9b70ea2ebaab26c3e4fed385dfab6fc16359ed.tar.xz wireguard-linux-1b9b70ea2ebaab26c3e4fed385dfab6fc16359ed.zip |
[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 'security/selinux/netlink.c')
0 files changed, 0 insertions, 0 deletions