RDMA/nes: Don't generate async events for unregistered devices
authorMaciej Sosnowski <maciej.sosnowski@intel.com>
Thu, 3 Feb 2011 23:55:26 +0000 (15:55 -0800)
committerRoland Dreier <roland@purestorage.com>
Thu, 3 Feb 2011 23:55:26 +0000 (15:55 -0800)
nes_port_ibevent() should not be called when the nes RDMA device is not
registered with the RDMA core.  Add missing checks of of_device_registered flag.

Signed-off-by: Maciej Sosnowski <maciej.sosnowski@intel.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>

No differences found