Skip to content
Commit b4b678b0 authored by Alex Vesker's avatar Alex Vesker Committed by Saeed Mahameed
Browse files

IB/ipoib: Grab rtnl lock on heavy flush when calling ndo_open/stop



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: default avatarAlex Vesker <valex@mellanox.com>
parent dae37456
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment