diff options
| author | Roi Dayan <[email protected]> | 2021-08-22 07:14:58 +0000 |
|---|---|---|
| committer | Saeed Mahameed <[email protected]> | 2021-08-26 22:15:42 +0000 |
| commit | 9a5f9cc794e17cf6ed2a5bb215d2e8b6832db444 (patch) | |
| tree | f2ce9bebe4ecbf16123d03fb2f21936b158b7a94 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
| parent | net/mlx5: Remove all auxiliary devices at the unregister event (diff) | |
| download | kernel-9a5f9cc794e17cf6ed2a5bb215d2e8b6832db444.tar.gz kernel-9a5f9cc794e17cf6ed2a5bb215d2e8b6832db444.zip | |
net/mlx5e: Fix possible use-after-free deleting fdb rule
After neigh-update-add failure we are still with a slow path rule but
the driver always assume the rule is an fdb rule.
Fix neigh-update-del by checking slow path tc flag on the flow.
Also fix neigh-update-add for when neigh-update-del fails the same.
Fixes: 5dbe906ff1d5 ("net/mlx5e: Use a slow path rule instead if vxlan neighbour isn't available")
Signed-off-by: Roi Dayan <[email protected]>
Reviewed-by: Paul Blakey <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions
