diff options
author | Alex Vesker <valex@mellanox.com> | 2017-10-10 10:36:41 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-12-20 10:05:01 +0100 |
commit | 26c66554d7bf86ca332200e77c3279c9a220bf27 (patch) | |
tree | 91705be1a01464060a2e07a1fb3e4d4881e9d383 /include/asm-m32r | |
parent | 112814db6ec47d62943945754cf54fe5067d1a8f (diff) | |
download | linux-stable-26c66554d7bf86ca332200e77c3279c9a220bf27.tar.gz linux-stable-26c66554d7bf86ca332200e77c3279c9a220bf27.tar.bz2 linux-stable-26c66554d7bf86ca332200e77c3279c9a220bf27.zip |
IB/ipoib: Grab rtnl lock on heavy flush when calling ndo_open/stop
[ Upstream commit b4b678b06f6eef18bff44a338c01870234db0bc9 ]
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>
Diffstat (limited to 'include/asm-m32r')
0 files changed, 0 insertions, 0 deletions