commit | cd6860eb036ab4320d591fdd056f86172438fae4 | [log] [tgz] |
---|---|---|
author | Faisal Latif <faisal.latif@intel.com> | Sun Jul 04 00:17:59 2010 +0000 |
committer | Roland Dreier <rolandd@cisco.com> | Wed Jul 28 15:14:27 2010 -0700 |
tree | 8c787e118cb85a6014a8d5771f9b7dbab75708f8 | |
parent | 0eec495ee69e3fbbe2ef2b244a0a988a4fe2e887 [diff] |
RDMA/nes: Fix hangs on ifdown 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>