summary refs log tree commit diff
path: root/sound/soc
diff options
context:
space:
mode:
authorAmit Cohen <amcohen@nvidia.com>2021-12-23 09:30:02 +0200
committerDavid S. Miller <davem@davemloft.net>2021-12-23 11:24:01 +0000
commit810ef9552dece4e9bb3ef37d008dc2cf4b317dc6 (patch)
tree68013ddeb05c9af67aa72c3abcd568eadd77f62c /sound/soc
parentc777d726267c0a5ca9216a5f17ed12d67bc97c99 (diff)
downloadlinux-810ef9552dece4e9bb3ef37d008dc2cf4b317dc6.tar.gz
selftests: mlxsw: devlink_trap_tunnel_vxlan: Fix 'decap_error' case
Change the case that sends packets with "too short inner packet" to
include part of ethernet header, to make the trap to be triggered due to
the correct reason.

According to ASIC arch, the trap is triggered if overlay packet length is
less than 18B, and the minimum inner packet should include source MAC and
destination MAC.

Till now the case passed because one of the reserved bits in VxLAN
header was used. This issue was found while adding an equivalent test
for IPv6.

Signed-off-by: Amit Cohen <amcohen@nvidia.com>
Reviewed-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'sound/soc')
0 files changed, 0 insertions, 0 deletions