commit | d9ac2d99787d08c0e3f777dac5aeaa3fed61b692 | [log] [tgz] |
---|---|---|
author | Ganesh Goudar <ganeshgr@chelsio.com> | Thu Jan 25 13:29:43 2018 +0530 |
committer | David S. Miller <davem@davemloft.net> | Thu Jan 25 16:30:54 2018 -0500 |
tree | 4fa6af4c7579459e3543cd19de8b0bd122569869 | |
parent | 955ec4cb3b54c7c389a9f830be7d3ae2056b9212 [diff] |
cxgb4: fix possible deadlock 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 <ganeshgr@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net>