Skip to content

Commit 17bc6b4

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

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
@@ -1176,7 +1176,7 @@ static int nfqnl_recv_config(struct net *net, struct sock *ctnl,
11761176
goto err_out_unlock;
11771177
}
11781178
instance_destroy(q, queue);
1179-
break;
1179+
goto err_out_unlock;
11801180
case NFQNL_CFG_CMD_PF_BIND:
11811181
case NFQNL_CFG_CMD_PF_UNBIND:
11821182
break;

0 commit comments

Comments
 (0)