]> git.baikalelectronics.ru Git - kernel.git/commit
[NETFILTER]: xt_u32: drop the actually unused variable from u32_match_it
authorPavel Emelyanov <xemul@openvz.org>
Wed, 20 Feb 2008 01:18:20 +0000 (17:18 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 20 Feb 2008 01:18:20 +0000 (17:18 -0800)
commit4634459f4a92ef14bb2fd740b4b0977965bd4990
tree399974034b526e8ca341822a7236bd86479937a4
parent814fe1c7a6d960f3d15c04fd5835ecbdde6a9682
[NETFILTER]: xt_u32: drop the actually unused variable from u32_match_it

The int ret variable is used only to trigger the BUG_ON() after
the skb_copy_bits() call, so check the call failure directly
and drop the variable.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netfilter/xt_u32.c