diff options
author | Eli Cohen <elic@nvidia.com> | 2021-10-26 20:55:19 +0300 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2021-11-01 05:26:49 -0400 |
commit | 540061ac79f0302ae91e44e6cd216cbaa3af1757 (patch) | |
tree | 31155257eab84e9db51a91c73d0574fd7f60bb0a /drivers/block/loop.c | |
parent | a007d940040c0b3d1fcb5f39159c2b141b85eae0 (diff) | |
download | linux-stable-540061ac79f0302ae91e44e6cd216cbaa3af1757.tar.gz linux-stable-540061ac79f0302ae91e44e6cd216cbaa3af1757.tar.bz2 linux-stable-540061ac79f0302ae91e44e6cd216cbaa3af1757.zip |
vdpa/mlx5: Forward only packets with allowed MAC address
Add rules to forward packets to the net device's TIR only if the
destination MAC is equal to the configured MAC. This is required to
prevent the netdevice from receiving traffic not destined to its
configured MAC.
Signed-off-by: Eli Cohen <elic@nvidia.com>
Reviewed-by: Parav Pandit <parav@nvidia.com>
Link: https://lore.kernel.org/r/20211026175519.87795-9-parav@nvidia.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'drivers/block/loop.c')
0 files changed, 0 insertions, 0 deletions