OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71b2e5f
)
netfilter: nfnetlink_log: just returns error for unknown command
author
Ken-ichirou MATSUZAWA
<chamaken@gmail.com>
Tue, 5 Jan 2016 00:34:34 +0000
(09:34 +0900)
committer
Pablo Neira Ayuso
<pablo@netfilter.org>
Fri, 8 Jan 2016 12:25:07 +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_log.c
patch
|
blob
|
history
diff --git
a/net/netfilter/nfnetlink_log.c
b/net/netfilter/nfnetlink_log.c
index
6a57f10
..
8ca9320
100644
(file)
--- 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;