From: Patrick McHardy Date: Wed, 9 Apr 2008 22:14:18 +0000 (-0700) Subject: [NETFILTER]: xt_hashlimit: fix mask calculation X-Git-Tag: v2.6.25-rc9~4^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b9b70ea2ebaab26c3e4fed385dfab6fc16359ed;p=pandora-kernel.git [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 . Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller --- Reading git-diff-tree failed