Thread (3 messages) 3 messages, 3 authors, 2011-02-20

Re: [PATCH] tcp: fix inet_twsk_deschedule()

From: David Miller <davem@davemloft.net>
Date: 2011-02-20 02:59:11
Also in: linux-mm, lkml

From: Eric Dumazet <redacted>
Date: Sat, 19 Feb 2011 09:35:56 +0100
[PATCH] tcp: fix inet_twsk_deschedule()

Eric W. Biederman reported a lockdep splat in inet_twsk_deschedule()

This is caused by inet_twsk_purge(), run from process context,
and commit 575f4cd5a5b6394577 (net: Use rcu lookups in inet_twsk_purge.)
removed the BH disabling that was necessary.

Add the BH disabling but fine grained, right before calling
inet_twsk_deschedule(), instead of whole function.

With help from Linus Torvalds and Eric W. Biederman

Reported-by: Eric W. Biederman <redacted>
Signed-off-by: Eric Dumazet <redacted>
CC: Daniel Lezcano <redacted>
CC: Pavel Emelyanov <redacted>
CC: Arnaldo Carvalho de Melo <redacted>
CC: stable <stable@kernel.org> (# 2.6.33+)
Applied, thanks Eric.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help