diff options
author | Ken-ichirou MATSUZAWA <chamaken@gmail.com> | 2016-01-05 09:29:54 +0900 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-01-08 13:25:04 +0100 |
commit | 17bc6b4884340b045e779be38ba9f574256866a2 (patch) | |
tree | 69171ca260af3e16ab87ff4775e83c658731b616 /net | |
parent | 60d2c7f9ab1cac8b2d44307b660eb7813091dbf0 (diff) | |
download | op-kernel-dev-17bc6b4884340b045e779be38ba9f574256866a2.zip op-kernel-dev-17bc6b4884340b045e779be38ba9f574256866a2.tar.gz |
netfilter: nfnetlink_queue: don't handle options after unbind
This patch stops processing after destroying a queue instance.
Signed-off-by: Ken-ichirou MATSUZAWA <chamas@h4.dion.ne.jp>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net')
-rw-r--r-- | net/netfilter/nfnetlink_queue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/nfnetlink_queue.c b/net/netfilter/nfnetlink_queue.c index fe360f7..57951ce 100644 --- a/net/netfilter/nfnetlink_queue.c +++ b/net/netfilter/nfnetlink_queue.c @@ -1176,7 +1176,7 @@ static int nfqnl_recv_config(struct net *net, struct sock *ctnl, goto err_out_unlock; } instance_destroy(q, queue); - break; + goto err_out_unlock; case NFQNL_CFG_CMD_PF_BIND: case NFQNL_CFG_CMD_PF_UNBIND: break; |