提交 17bc6b48 编写于 作者: K Ken-ichirou MATSUZAWA 提交者: Pablo Neira Ayuso

netfilter: nfnetlink_queue: don't handle options after unbind

This patch stops processing after destroying a queue instance.
Signed-off-by: NKen-ichirou MATSUZAWA <chamas@h4.dion.ne.jp>
Signed-off-by: NPablo Neira Ayuso <pablo@netfilter.org>
上级 60d2c7f9
...@@ -1176,7 +1176,7 @@ static int nfqnl_recv_config(struct net *net, struct sock *ctnl, ...@@ -1176,7 +1176,7 @@ static int nfqnl_recv_config(struct net *net, struct sock *ctnl,
goto err_out_unlock; goto err_out_unlock;
} }
instance_destroy(q, queue); instance_destroy(q, queue);
break; goto err_out_unlock;
case NFQNL_CFG_CMD_PF_BIND: case NFQNL_CFG_CMD_PF_BIND:
case NFQNL_CFG_CMD_PF_UNBIND: case NFQNL_CFG_CMD_PF_UNBIND:
break; break;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册