]> git.baikalelectronics.ru Git - kernel.git/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)
commit0a47020b1cf21c3d0682e068e2eaffedb23f712f
treed59b130c0aa7f2600cb2c9dfd3d2b569c7bba601
parent2adaa868e3a426b16a2efa58950e1aaea5e3823c
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