aboutsummaryrefslogtreecommitdiffstats
path: root/net/netfilter
diff options
context:
space:
mode:
authorKen-ichirou MATSUZAWA <chamaken@gmail.com>2016-01-04 19:34:34 -0500
committerPablo Neira Ayuso <pablo@netfilter.org>2016-01-08 07:25:07 -0500
commiteb075954e9fde114f57adc39a9ea6d379c13f81e (patch)
tree88502c8495d4eff155103313840db78798670553 /net/netfilter
parent71b2e5f5ca3b163b90e487a96fd0cabbaf16792b (diff)
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.c2
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,
888 goto out_put; 888 goto out_put;
889 default: 889 default:
890 ret = -ENOTSUPP; 890 ret = -ENOTSUPP;
891 break; 891 goto out_put;
892 } 892 }
893 } else if (!inst) { 893 } else if (!inst) {
894 ret = -ENODEV; 894 ret = -ENODEV;