]> 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)
commit33694949ae5bc9e1ee107caecc49c2d364938d70
tree694ab01c605470329b19bf7ae06f2d411b8687d9
parent88312ef34ab2111ea82fdbe63e382911e58b5025
parent434aff915bdbfaa55f400ace5e29e5ea48fb4aab
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>