Re: [PATCH net-next 0/4] net: block BH in TCP callbacks

2016-05-19 Thread David Miller
From: Eric Dumazet Date: Tue, 17 May 2016 17:44:05 -0700 > 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 dep

[PATCH net-next 0/4] net: block BH in TCP callbacks

2016-05-17 Thread Eric Dumazet
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 mig