Re: [PATCH net-next] cxgb4: fix possible deadlock

2018-01-25 Thread David Miller
From: Ganesh Goudar Date: Thu, 25 Jan 2018 13:29:43 +0530 > t4_wr_mbox_meat_timeout() can be called from both softirq > context and process context, hence protect the mbox with > spin_lock_bh() instead of simple spin_lock() > > Signed-off-by: Ganesh Goudar Applied, thank you.

[PATCH net-next] cxgb4: fix possible deadlock

2018-01-25 Thread Ganesh Goudar
t4_wr_mbox_meat_timeout() can be called from both softirq context and process context, hence protect the mbox with spin_lock_bh() instead of simple spin_lock() Signed-off-by: Ganesh Goudar --- drivers/net/ethernet/chelsio/cxgb4/t4_hw.c | 20 ++-- 1 file changed, 10 insertions(+),