aboutsummaryrefslogtreecommitdiff
path: root/lib/vsprintf.c
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2011-02-18 22:35:56 +0000
committerGreg Kroah-Hartman <gregkh@suse.de>2011-03-07 15:05:08 -0800
commitee9c1a61d8d131503faaead0d7636bdc1e44e3c3 (patch)
treeac5561602658d158b2aa1e7550f4235eb7c7a9e1 /lib/vsprintf.c
parent05d13b4e89caaca96f73c5f46d7b3dc9bcc7b0d8 (diff)
tcp: fix inet_twsk_deschedule()
commit 91035f0b7d89291af728b6f3e370c3be58fcbe1b upstream. 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 <ebiederm@xmission.com> Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> CC: Daniel Lezcano <daniel.lezcano@free.fr> CC: Pavel Emelyanov <xemul@openvz.org> CC: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'lib/vsprintf.c')
0 files changed, 0 insertions, 0 deletions