diff options
author | Alaa Hleihel <[email protected]> | 2019-05-26 11:56:27 +0300 |
---|---|---|
committer | Saeed Mahameed <[email protected]> | 2019-06-07 14:40:37 -0700 |
commit | 47c9d2c99ddeecca61c97618857b70fc7901658b (patch) | |
tree | 167a4ccf7b09ed052aa55ef935627db8fc3063ec /tools/perf/scripts/python/syscall-counts.py | |
parent | b83c0730167c7ea6c03bffceefb86ae710ab30e2 (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 <[email protected]>
Reviewed-by: Roi Dayan <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions