summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx5/core/en_main.c
diff options
context:
space:
mode:
authorDenis Drozdov2018-08-14 13:22:35 +0200
committerSaeed Mahameed2018-10-11 02:58:12 +0200
commit5d6b0cb3369df425de75c94c98eb3f1a86659022 (patch)
tree1a497bbb346e05d83fed7e831f5255f133195075 /drivers/net/ethernet/mellanox/mlx5/core/en_main.c
parentRDMA/netdev: Hoist alloc_netdev_mqs out of the driver (diff)
downloadkernel-qcow2-linux-5d6b0cb3369df425de75c94c98eb3f1a86659022.tar.gz
kernel-qcow2-linux-5d6b0cb3369df425de75c94c98eb3f1a86659022.tar.xz
kernel-qcow2-linux-5d6b0cb3369df425de75c94c98eb3f1a86659022.zip
RDMA/netdev: Fix netlink support in IPoIB
IPoIB netlink support was broken by the below commit since integrating the rdma_netdev support relies on an allocation flow for netdevs that was controlled by the ipoib driver while netdev's rtnl_newlink implementation assumes that the netdev will be allocated by netlink. Such situation leads to crash in __ipoib_device_add, once trying to reuse netlink device. This patch fixes the kernel oops for both mlx4 and mlx5 devices triggered by the following command: Fixes: cd565b4b51e5 ("IB/IPoIB: Support acceleration options callbacks") Signed-off-by: Denis Drozdov <denisd@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com> Signed-off-by: Feras Daoud <ferasda@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/en_main.c')
0 files changed, 0 insertions, 0 deletions