[NETFILTER]: Fix deadlock in ip6_queue
Already fixed in ip_queue, ip6_queue was missed. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
28e212fb36
commit
4c1217deeb
1 changed files with 2 additions and 0 deletions
|
@ -76,7 +76,9 @@ static DECLARE_MUTEX(ipqnl_sem);
|
||||||
static void
|
static void
|
||||||
ipq_issue_verdict(struct ipq_queue_entry *entry, int verdict)
|
ipq_issue_verdict(struct ipq_queue_entry *entry, int verdict)
|
||||||
{
|
{
|
||||||
|
local_bh_disable();
|
||||||
nf_reinject(entry->skb, entry->info, verdict);
|
nf_reinject(entry->skb, entry->info, verdict);
|
||||||
|
local_bh_enable();
|
||||||
kfree(entry);
|
kfree(entry);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue