diff options
author | Patrick McHardy <[email protected]> | 2008-04-09 15:14:18 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2008-04-09 15:14:18 -0700 |
commit | 1b9b70ea2ebaab26c3e4fed385dfab6fc16359ed (patch) | |
tree | dad450564144193ea3591a491cc24665f4b22224 /net/unix/sysctl_net_unix.c | |
parent | b41f5bfff73f244101b34f3603974ef7aeadf545 (diff) |
[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 <[email protected]>.
Signed-off-by: Patrick McHardy <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions