Re: [PATCH net] tcp: tcp_probe: use spin_lock_bh()

2017-02-14 Thread Stephen Hemminger
On Tue, 14 Feb 2017 17:11:14 -0800 Eric Dumazet wrote: > From: Eric Dumazet > > tcp_rcv_established() can now run in process context. > > We need to disable BH while acquiring tcp probe spinlock, > or risk a deadlock. > > Fixes: 5413d1babe8f ("net: do not block BH while processing socket back

Re: [PATCH net] tcp: tcp_probe: use spin_lock_bh()

2017-02-14 Thread David Miller
From: Eric Dumazet Date: Tue, 14 Feb 2017 17:11:14 -0800 > From: Eric Dumazet > > tcp_rcv_established() can now run in process context. > > We need to disable BH while acquiring tcp probe spinlock, > or risk a deadlock. > > Fixes: 5413d1babe8f ("net: do not block BH while processing socket ba

[PATCH net] tcp: tcp_probe: use spin_lock_bh()

2017-02-14 Thread Eric Dumazet
From: Eric Dumazet tcp_rcv_established() can now run in process context. We need to disable BH while acquiring tcp probe spinlock, or risk a deadlock. Fixes: 5413d1babe8f ("net: do not block BH while processing socket backlog") Signed-off-by: Eric Dumazet Reported-by: Ricardo Nabinger Sanchez