Skip to content
Commit 97242c85 authored by David Miller's avatar David Miller Committed by Pablo Neira Ayuso
Browse files

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: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
parent 9184a9cb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment