4.4-stable review patch.  If anyone has any objections, please let me know.

------------------

From: Ken-ichirou MATSUZAWA <[email protected]>

commit eb075954e9fde114f57adc39a9ea6d379c13f81e upstream.

This patch stops processing options for unknown command.

Signed-off-by: Ken-ichirou MATSUZAWA <[email protected]>
Signed-off-by: Pablo Neira Ayuso <[email protected]>
Cc: Zubin Mithra <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>

---
 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;


Reply via email to