commit | 4be353d5169ef2477814b35fe46734a51dcecd09 | [log] [tgz] |
---|---|---|
author | Amit Kumar Salecha <amit.salecha@qlogic.com> | Tue Aug 17 20:51:51 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Aug 19 00:28:16 2010 -0700 |
tree | 1981d2a73e355c552cab42deebe533083dda83e1 | |
parent | 0ac820eebe9008094040955d294ef7b33b418413 [diff] |
netxen: fix inconsistent lock state Spin lock rds_ring->lock is used in poll routine, so other users should use spin_lock_bh(). While posting rx buffers from netxen_nic_attach, rds_ring->lock is not required, so cleaning it instead of fixing it by spin_lock_bh(). Signed-off-by: Amit Kumar Salecha <amit.salecha@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>