aboutsummaryrefslogtreecommitdiffstats
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorAlaa Hleihel <alaa@mellanox.com>2019-05-26 04:56:27 -0400
committerSaeed Mahameed <saeedm@mellanox.com>2019-06-07 17:40:37 -0400
commit47c9d2c99ddeecca61c97618857b70fc7901658b (patch)
tree167a4ccf7b09ed052aa55ef935627db8fc3063ec /net/lapb/lapb_iface.c
parentb83c0730167c7ea6c03bffceefb86ae710ab30e2 (diff)
net/mlx5e: Avoid detaching non-existing netdev under switchdev mode
After introducing dedicated uplink representor, the netdev instance set over the esw manager vport (PF) became no longer in use, so it was removed in the cited commit once we're on switchdev mode. However, the mlx5e_detach function was not updated accordingly, and it still tries to detach a non-existing netdev, causing a kernel crash. This patch fixes this issue. Fixes: aec002f6f82c ("net/mlx5e: Uninstantiate esw manager vport netdev on switchdev mode") Signed-off-by: Alaa Hleihel <alaa@mellanox.com> Reviewed-by: Roi Dayan <roid@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions