Re: Re: kernel 3.7.6, l2tp, qdisc_tx circular locking

From: Denys Fedoryshchenko <hidden>
Date: 2013-02-15 22:54:54

Sorry accidentaly deleted my emails, i will try in next 2 days to 
update server with l2tp, and will test everything there, if i can 
reproduce bug.
quoted hunk
diff --git a/net/l2tp/l2tp_core.c b/net/l2tp/l2tp_core.c
index dcfd64e..7baf88f 100644
--- a/net/l2tp/l2tp_core.c
+++ b/net/l2tp/l2tp_core.c
@@ -1251,8 +1251,11 @@ int l2tp_xmit_skb(struct l2tp_session *session, 
struct sk_buff *skb, int hdr_len
	}

	l2tp_skb_set_owner_w(skb, sk);
+	bh_unlock_sock(sk);

	l2tp_xmit_core(session, skb, fl, data_len);
+	return ret;
+
out_unlock:
	bh_unlock_sock(sk);
---
Denys Fedoryshchenko, Network Engineer, Virtual ISP S.A.L.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help