linux/drivers/infiniband/ulp
Alex Vesker 023bff1b33 IB/ipoib: Grab rtnl lock on heavy flush when calling ndo_open/stop
[ Upstream commit b4b678b06f ]

When ndo_open and ndo_stop are called RTNL lock should be held.
In this specific case ipoib_ib_dev_open calls the offloaded ndo_open
which re-sets the number of TX queue assuming RTNL lock is held.
Since RTNL lock is not held, RTNL assert will fail.

Signed-off-by: Alex Vesker <valex@mellanox.com>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2017-12-20 10:10:37 +01:00
..
ipoib IB/ipoib: Grab rtnl lock on heavy flush when calling ndo_open/stop 2017-12-20 10:10:37 +01:00
iser IB: Correct MR length field to be 64-bit 2017-09-25 11:47:23 -04:00
isert License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
opa_vnic RDMA/(core, ulp): Convert register/unregister event handler to be void 2017-08-24 16:27:10 -04:00
srp IB/srp: Avoid that a cable pull can trigger a kernel crash 2017-11-30 08:40:55 +00:00
srpt IB/srpt: Do not accept invalid initiator port names 2017-11-30 08:40:54 +00:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00