diff options
author | David Miller <davem@davemloft.net> | 2011-05-20 00:14:39 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2011-05-26 19:09:07 +0200 |
commit | 97242c85a2c8160eac5a6e945209b5b6ae8ab5a3 (patch) | |
tree | c1d64596ae85c77580fe99b7c4cae3d41ca4fbf5 /net/sysctl_net.c | |
parent | netfilter: ipset: fix ip_set_flush return code (diff) | |
download | linux-97242c85a2c8160eac5a6e945209b5b6ae8ab5a3.tar.xz linux-97242c85a2c8160eac5a6e945209b5b6ae8ab5a3.zip |
netfilter: Fix several warnings in compat_mtw_from_user().
Kill set but not used 'entry_offset'.
Add a default case to the switch statement so the compiler
can see that we always initialize off and size_kern before
using them.
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/sysctl_net.c')
0 files changed, 0 insertions, 0 deletions