提交 eb075954 编写于 作者: K Ken-ichirou MATSUZAWA 提交者: Pablo Neira Ayuso

netfilter: nfnetlink_log: just returns error for unknown command

This patch stops processing options for unknown command.
Signed-off-by: NKen-ichirou MATSUZAWA <chamas@h4.dion.ne.jp>
Signed-off-by: NPablo Neira Ayuso <pablo@netfilter.org>
上级 71b2e5f5
...@@ -888,7 +888,7 @@ static int nfulnl_recv_config(struct net *net, struct sock *ctnl, ...@@ -888,7 +888,7 @@ static int nfulnl_recv_config(struct net *net, struct sock *ctnl,
goto out_put; goto out_put;
default: default:
ret = -ENOTSUPP; ret = -ENOTSUPP;
break; goto out_put;
} }
} else if (!inst) { } else if (!inst) {
ret = -ENODEV; ret = -ENODEV;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册