4.4-stable review patch. If anyone has any objections, please let me know.
------------------
From: Ken-ichirou MATSUZAWA chamaken@gmail.com
commit eb075954e9fde114f57adc39a9ea6d379c13f81e upstream.
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 Cc: Zubin Mithra zsm@chromium.org Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
--- net/netfilter/nfnetlink_log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
--- a/net/netfilter/nfnetlink_log.c +++ b/net/netfilter/nfnetlink_log.c @@ -895,7 +895,7 @@ nfulnl_recv_config(struct sock *ctnl, st goto out_put; default: ret = -ENOTSUPP; - break; + goto out_put; } } else if (!inst) { ret = -ENODEV;