android_kernel_oneplus_msm8998/drivers/infiniband/ulp/ipoib
Alex Vesker 26c66554d7 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>
2017-12-20 10:05:01 +01:00
..
ipoib.h IB/ipoib: move back IB LL address into the hard header 2017-02-01 08:30:53 +01:00
ipoib_cm.c IB/ipoib: Change list_del to list_del_init in the tx object 2017-11-15 17:13:11 +01:00
ipoib_ethtool.c net: get rid of SET_ETHTOOL_OPS 2014-05-13 17:43:20 -04:00
ipoib_fs.c IB/IPoIB: ibX: failed to create mcg debug file 2017-05-20 14:27:00 +02:00
ipoib_ib.c IB/ipoib: Grab rtnl lock on heavy flush when calling ndo_open/stop 2017-12-20 10:05:01 +01:00
ipoib_main.c IB/ipoib: Replace list_del of the neigh->list with list_del_init 2017-10-08 10:14:17 +02:00
ipoib_multicast.c IB/ipoib: move back IB LL address into the hard header 2017-02-01 08:30:53 +01:00
ipoib_netlink.c infiniband: make sure the src net is infiniband when create new link 2014-01-03 20:38:56 -05:00
ipoib_verbs.c IB: split struct ib_send_wr 2015-10-08 11:09:10 +01:00
ipoib_vlan.c IB/ipoib: rtnl_unlock can not come after free_netdev 2017-10-08 10:14:17 +02:00
Kconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
Makefile IB/ipoib: Add rtnl_link_ops support 2012-09-20 16:49:17 -04:00