commit | b4b678b06f6eef18bff44a338c01870234db0bc9 | [log] [tgz] |
---|---|---|
author | Alex Vesker <valex@mellanox.com> | Tue Oct 10 10:36:41 2017 +0300 |
committer | Saeed Mahameed <saeedm@mellanox.com> | Sat Oct 14 11:22:08 2017 -0700 |
tree | 6dd3d2b3e33d16c1261a78a61f78ab86d0954198 | |
parent | dae37456c8ac3afe8d5f306717f2b75ed5ca38d9 [diff] |
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: Alex Vesker <valex@mellanox.com>