]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'tcp_bh_fixes'
authorDavid S. Miller <davem@davemloft.net>
Thu, 19 May 2016 18:36:50 +0000 (11:36 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 May 2016 18:36:50 +0000 (11:36 -0700)
commitbcde5bd716d815e225c6c85672bd09445715a49e
tree694ab01c605470329b19bf7ae06f2d411b8687d9
parent0be3c975d24d28d48f00a390a1cc3addf54fa100
parent858cc2e9971d28cec2b463a35d959cead6f3641a
Merge branch 'tcp_bh_fixes'

Eric Dumazet says:

====================
net: block BH in TCP callbacks

Four layers using TCP stack were assuming sk_callback_lock could
be locked using read_lock() in their handlers because TCP stack
was running with BH disabled.

This is no longer the case. Since presumably the rest could
also depend on BH being disabled, just use read_lock_bh().

Then each layer might consider switching to RCU protection
and no longer depend on BH.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>