Skip to content
Commit 87553aa5 authored by David S. Miller's avatar David S. Miller
Browse files

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: default avatarDavid S. Miller <davem@davemloft.net>
parents e00be9e4 b91083a4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment