]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
netfilter: Fix several warnings in compat_mtw_from_user().
authorDavid Miller <davem@davemloft.net>
Thu, 19 May 2011 22:14:39 +0000 (18:14 -0400)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 26 May 2011 17:09:07 +0000 (19:09 +0200)
commit97242c85a2c8160eac5a6e945209b5b6ae8ab5a3
treec1d64596ae85c77580fe99b7c4cae3d41ca4fbf5
parent9184a9cba622d9e38462ce11dff7da094b4fea84
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>
net/bridge/netfilter/ebtables.c