diff options
author | Ken-ichirou MATSUZAWA <chamaken@gmail.com> | 2016-01-05 09:34:34 +0900 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-01-08 13:25:07 +0100 |
commit | eb075954e9fde114f57adc39a9ea6d379c13f81e (patch) | |
tree | 88502c8495d4eff155103313840db78798670553 /net/netfilter | |
parent | 71b2e5f5ca3b163b90e487a96fd0cabbaf16792b (diff) | |
download | linux-stable-eb075954e9fde114f57adc39a9ea6d379c13f81e.tar.gz linux-stable-eb075954e9fde114f57adc39a9ea6d379c13f81e.tar.bz2 linux-stable-eb075954e9fde114f57adc39a9ea6d379c13f81e.zip |
netfilter: nfnetlink_log: just returns error for unknown command
This patch stops processing options for unknown command.
Signed-off-by: Ken-ichirou MATSUZAWA <chamas@h4.dion.ne.jp>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter')
-rw-r--r-- | net/netfilter/nfnetlink_log.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/nfnetlink_log.c b/net/netfilter/nfnetlink_log.c index 6a57f10a4e0b..8ca932057c13 100644 --- a/net/netfilter/nfnetlink_log.c +++ b/net/netfilter/nfnetlink_log.c @@ -888,7 +888,7 @@ static int nfulnl_recv_config(struct net *net, struct sock *ctnl, goto out_put; default: ret = -ENOTSUPP; - break; + goto out_put; } } else if (!inst) { ret = -ENODEV; |