git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b41f5bf
)
[NETFILTER]: xt_hashlimit: fix mask calculation
author
Patrick McHardy
<kaber@trash.net>
Wed, 9 Apr 2008 22:14:18 +0000
(15:14 -0700)
committer
David S. Miller
<davem@davemloft.net>
Wed, 9 Apr 2008 22:14:18 +0000
(15:14 -0700)
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>
No differences found