]> git.baikalelectronics.ru Git - kernel.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)
commit92262864061a5ad75838cfd75180415155b81490
treeb974a31452cb645f063589262bde09b6c5b05701
parent19416d84d8c06f237b9735855be8e7b2ce128fa4
[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