OSDN Git Service

net/mlx5: Avoid forwarding to other eswitch uplink
authorEli Cohen <eli@mellanox.com>
Thu, 12 Mar 2020 15:20:32 +0000 (17:20 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Wed, 18 Mar 2020 02:41:41 +0000 (19:41 -0700)
commit87b51810f4ad99a833883f6f00795ee550f3a622
tree906097392d7faef0931be941bd4760d71a58b1df
parent613f53fe09a27f928a7d05132e1a74b5136e8f04
net/mlx5: Avoid forwarding to other eswitch uplink

Do not allow forwarding of encapsulated traffic received from one eswtich's
uplink to another eswtich's uplink.

Signed-off-by: Eli Cohen <eli@mellanox.com>
Reviewed-by: Oz Shlomo <ozsh@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c