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)
commitcd6860eb036ab4320d591fdd056f86172438fae4
tree8c787e118cb85a6014a8d5771f9b7dbab75708f8
parent0eec495ee69e3fbbe2ef2b244a0a988a4fe2e887
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>
drivers/infiniband/hw/nes/nes.h
drivers/infiniband/hw/nes/nes_hw.c
drivers/infiniband/hw/nes/nes_nic.c
drivers/infiniband/hw/nes/nes_verbs.c
This page took 0.05449 seconds and 5 git commands to generate.