projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17bc6b4
)
netfilter: nfnetlink_queue: just returns error for unknown command
author
Ken-ichirou MATSUZAWA
<chamaken@gmail.com>
Tue, 5 Jan 2016 00:31:40 +0000
(09:31 +0900)
committer
Pablo Neira Ayuso
<pablo@netfilter.org>
Fri, 8 Jan 2016 12:25:05 +0000
(13:25 +0100)
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>
net/netfilter/nfnetlink_queue.c
patch
|
blob
|
history
diff --git
a/net/netfilter/nfnetlink_queue.c
b/net/netfilter/nfnetlink_queue.c
index
57951ce
..
c1f6df4
100644
(file)
--- 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,
break;
default:
ret = -ENOTSUPP;
-
brea
k;
+
goto err_out_unloc
k;
}
}