Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/mlx5: zero UDP checksum over IPv4 in encapsulation
[ upstream commit e407221d58ffdfd9b7c80f8e4fff99f67cdbd6e9 ] A zero UDP csum indicates it should not be validated by the receiver. The HW may not calculate UDP csum after encap. The cited commit made sure the UDP csum is zero for UDP over IPv6, mistakenly not handling UDP over IPv4. Fix it. Fixes: bf1d7d9 ("net/mlx5: zero out UDP checksum in encapsulation") Signed-off-by: Eli Britstein <[email protected]> Acked-by: Suanming Mou <[email protected]>
- Loading branch information