RDMA/nes: Fix hangs on ifdown
authorFaisal Latif <faisal.latif@intel.com>
Sun, 4 Jul 2010 00:17:59 +0000 (00:17 +0000)
committerRoland Dreier <rolandd@cisco.com>
Wed, 28 Jul 2010 22:14:27 +0000 (15:14 -0700)
When ib_unregister_device() is called from netdev stop during ifdown,
it sometimes hangs. Changes made to indicate port_err to ib_dispatch_event()
during netdev stop and port_active during netdev open. The
ib_unregister_device() is only called during remove of the module.

Signed-off-by: Faisal Latif <faisal.latif@intel.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>

No differences found