diff options
| author | Eric Dumazet <[email protected]> | 2011-02-18 22:35:56 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2011-02-20 02:59:04 +0000 |
| commit | 91035f0b7d89291af728b6f3e370c3be58fcbe1b (patch) | |
| tree | e15aeadf32b4e4c2874c72be0100dbe0f222f84a /net/ipv4/tcp_output.c | |
| parent | Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/kaber/... (diff) | |
| download | kernel-91035f0b7d89291af728b6f3e370c3be58fcbe1b.tar.gz kernel-91035f0b7d89291af728b6f3e370c3be58fcbe1b.zip | |
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 <[email protected]>
Signed-off-by: Eric Dumazet <[email protected]>
CC: Daniel Lezcano <[email protected]>
CC: Pavel Emelyanov <[email protected]>
CC: Arnaldo Carvalho de Melo <[email protected]>
CC: stable <[email protected]> (# 2.6.33+)
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_output.c')
0 files changed, 0 insertions, 0 deletions
