]> err.no Git - linux-2.6/commit
RDMA/cxgb3: Hold rtnl_lock() around ethtool get_drvinfo call
authorSteve Wise <swise@opengridcomputing.com>
Mon, 26 Nov 2007 17:28:44 +0000 (11:28 -0600)
committerRoland Dreier <rolandd@cisco.com>
Fri, 25 Jan 2008 22:15:26 +0000 (14:15 -0800)
commit7f049f2f4259e4a5c213720df1ce0c2ca095641a
treed59b130c0aa7f2600cb2c9dfd3d2b569c7bba601
parent908cf9a565348b5a6d765d120cb189a568ea4883
RDMA/cxgb3: Hold rtnl_lock() around ethtool get_drvinfo call

Currently the call into cxgb3 to get the driver info is not serialized.
The iw_cxgb3 module needs to hold the rtnl_lock around the ethtool ops
call like dev_ioctl() does.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/cxgb3/iwch_provider.c