]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[IB] umad: fix hot remove of IB devices
authorRoland Dreier <rolandd@cisco.com>
Thu, 3 Nov 2005 20:01:18 +0000 (12:01 -0800)
committerRoland Dreier <rolandd@cisco.com>
Thu, 3 Nov 2005 20:01:18 +0000 (12:01 -0800)
commit0c99cb6d5fe77872c5a32cff837c05f70158ce15
treeb974a31452cb645f063589262bde09b6c5b05701
parent87cfe32375e0b69b999b59bf8287f501df3e43f7
[IB] umad: fix hot remove of IB devices

Fix hotplug of devices for ib_umad module: when a device goes away,
kill off all MAD agents for open files associated with that device,
and make sure that the device is not touched again after ib_umad
returns from its remove_one function.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/core/user_mad.c