projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28e212f
)
[NETFILTER]: Fix deadlock in ip6_queue
author
Patrick McHardy
<kaber@trash.net>
Fri, 22 Jul 2005 19:49:30 +0000
(12:49 -0700)
committer
David S. Miller
<davem@davemloft.net>
Fri, 22 Jul 2005 19:49:30 +0000
(12:49 -0700)
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>
net/ipv6/netfilter/ip6_queue.c
patch
|
blob
|
blame
|
history
diff --git
a/net/ipv6/netfilter/ip6_queue.c
b/net/ipv6/netfilter/ip6_queue.c
index 750943e2d34eed262fe1ccc5d9f276d2ed2fc832..5493180f0d441200675a5ecd0406617e5a7d7cf5 100644
(file)
--- a/
net/ipv6/netfilter/ip6_queue.c
+++ b/
net/ipv6/netfilter/ip6_queue.c
@@
-76,7
+76,9
@@
static DECLARE_MUTEX(ipqnl_sem);
static void
ipq_issue_verdict(struct ipq_queue_entry *entry, int verdict)
{
+ local_bh_disable();
nf_reinject(entry->skb, entry->info, verdict);
+ local_bh_enable();
kfree(entry);
}