Re: [TCP]: Fix sock_orphan dead lock

2006-05-03 Thread David S. Miller
so it does > > still serve a purpose. > > > > I'd be happy to see your patch included. > > I've just changed my mind :) Instead of disabling BH on the read_lock > callers, we can instead move sock_orphan outside bh_lock_sock. > > [TCP]: Fix sock_orphan

[TCP]: Fix sock_orphan dead lock

2006-04-29 Thread Herbert Xu
#x27;ve just changed my mind :) Instead of disabling BH on the read_lock callers, we can instead move sock_orphan outside bh_lock_sock. [TCP]: Fix sock_orphan dead lock Calling sock_orphan inside bh_lock_sock in tcp_close can lead to dead locks. For example, the inet_diag code holds sk_callback_lo