diff options
| author | Thomas Falcon <tlfalcon@linux.ibm.com> | 2018-11-30 10:59:08 -0600 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-05-02 09:58:51 +0200 |
| commit | e7ddd6af17e452467e17f15ad70a6f211593f2fa (patch) | |
| tree | 7e70b85f736c127452939aa5f70d00708d08fe18 /include | |
| parent | ffc1d85e8c5f79d54597f3be294a287f5ceaa7a4 (diff) | |
net/ibmvnic: Fix RTNL deadlock during device reset
[ Upstream commit 986103e7920cabc0b910749e77ae5589d3934d52 ]
Commit a5681e20b541 ("net/ibmnvic: Fix deadlock problem
in reset") made the change to hold the RTNL lock during
driver reset but still calls netdev_notify_peers, which
results in a deadlock. Instead, use call_netdevice_notifiers,
which is functionally the same except that it does not
take the RTNL lock again.
Fixes: a5681e20b541 ("net/ibmnvic: Fix deadlock problem in reset")
Signed-off-by: Thomas Falcon <tlfalcon@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
