linux-hardened/drivers/infiniband/hw
Roland Dreier 657c2f2cbc IB/ipath: Fix crash on unload introduced by sysfs changes
Commit 23b9c1ab ("Infiniband: make ipath driver use default driver
groups.") introduced a bug in the ipath driver where
ipath_device_create_group() fell through into the error path, even on
success, which meant that the sysfs groups it created would always get
removed right away.  This made ipath_device_remove_group() hit the
BUG_ON() in sysfs_remove_group() when it tried to remove those groups a
second time.

Correct the return path so that the groups stick around until they are
supposed to be cleaned up.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
2008-01-25 14:15:21 -08:00
..
amso1100 [NET]: Nuke SET_MODULE_OWNER macro. 2007-10-10 16:51:13 -07:00
cxgb3 RDMA/cxgb3: Set the max_qp_init_rd_atom attribute in query_device 2007-11-13 15:27:00 -08:00
ehca Infiniband: make ipath driver use default driver groups. 2008-01-24 20:40:34 -08:00
ipath IB/ipath: Fix crash on unload introduced by sysfs changes 2008-01-25 14:15:21 -08:00
mlx4 IB/mlx4: Fix value of pkey_index in QP1 completions 2008-01-08 12:05:53 -08:00
mthca SG: Change sg_set_page() to take length and offset argument 2007-10-24 11:20:47 +02:00