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 12:26:49 +0300 |
commit | 540061ac79f0302ae91e44e6cd216cbaa3af1757 (patch) | |
tree | 31155257eab84e9db51a91c73d0574fd7f60bb0a /drivers/char | |
parent | a007d940040c0b3d1fcb5f39159c2b141b85eae0 (diff) | |
download | linux-540061ac79f0302ae91e44e6cd216cbaa3af1757.tar.xz |
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/char')
0 files changed, 0 insertions, 0 deletions