Skip to content

Commit 21c3c97

Browse files
chamakenummakynes
authored andcommitted
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>
1 parent 17bc6b4 commit 21c3c97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

net/netfilter/nfnetlink_queue.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1182,7 +1182,7 @@ static int nfqnl_recv_config(struct net *net, struct sock *ctnl,
11821182
break;
11831183
default:
11841184
ret = -ENOTSUPP;
1185-
break;
1185+
goto err_out_unlock;
11861186
}
11871187
}
11881188

0 commit comments

Comments
 (0)