commit | 0d36882013e61dc47aa835c4ec98b1fe776c9db8 | [log] [tgz] |
---|---|---|
author | Manish Chopra <manish.chopra@qlogic.com> | Tue Sep 30 03:56:35 2014 -0400 |
committer | David S. Miller <davem@davemloft.net> | Tue Sep 30 16:22:43 2014 -0400 |
tree | d2bdf6d34aa1dae6b122364bdbd2b6a4e84e4bc9 | |
parent | 705f1c869d577c8055736dd02501f26a2507dd5b [diff] |
netxen: Fix BUG "sleeping function called from invalid context" o __netxen_nic_down() function might sleep while holding spinlock_t(tx_clean_lock). Acquire this lock for only releasing TX buffers instead of taking it for whole down path. Reported-by: Mike Galbraith <umgwanakikbuti@gmail.com> Signed-off-by: Manish Chopra <manish.chopra@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>