diff options
author | Ken-ichirou MATSUZAWA <chamaken@gmail.com> | 2016-01-04 19:31:40 -0500 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-01-08 07:25:05 -0500 |
commit | 21c3c971d1eb5d5598ddb1eda2fc3e4d2c992182 (patch) | |
tree | 4ef996197763b9516913b5d2c670a8231501ec40 /net/netfilter | |
parent | 17bc6b4884340b045e779be38ba9f574256866a2 (diff) |
netfilter: nfnetlink_queue: 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_queue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/nfnetlink_queue.c b/net/netfilter/nfnetlink_queue.c index 57951ce621b1..c1f6df4cfe88 100644 --- a/net/netfilter/nfnetlink_queue.c +++ b/net/netfilter/nfnetlink_queue.c | |||
@@ -1182,7 +1182,7 @@ static int nfqnl_recv_config(struct net *net, struct sock *ctnl, | |||
1182 | break; | 1182 | break; |
1183 | default: | 1183 | default: |
1184 | ret = -ENOTSUPP; | 1184 | ret = -ENOTSUPP; |
1185 | break; | 1185 | goto err_out_unlock; |
1186 | } | 1186 | } |
1187 | } | 1187 | } |
1188 | 1188 | ||