diff options
author | Gal Pressman <gal@nvidia.com> | 2024-05-22 22:26:59 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-05-24 13:27:08 +0100 |
commit | 83fea49f2711fc90c0d115b0ed04046b45155b65 (patch) | |
tree | feb6fd37a5bc3cb2183623e69247cc9b7c57755c /net/unix/af_unix.c | |
parent | 5c74195d5dd977e97556e6fa76909b831c241230 (diff) |
net/mlx5e: Fix UDP GSO for encapsulated packets
When the skb is encapsulated, adjust the inner UDP header instead of the
outer one, and account for UDP header (instead of TCP) in the inline
header size calculation.
Fixes: 689adf0d4892 ("net/mlx5e: Add UDP GSO support")
Reported-by: Jason Baron <jbaron@akamai.com>
Closes: https://lore.kernel.org/netdev/c42961cb-50b9-4a9a-bd43-87fe48d88d29@akamai.com/
Signed-off-by: Gal Pressman <gal@nvidia.com>
Reviewed-by: Dragos Tatulea <dtatulea@nvidia.com>
Reviewed-by: Boris Pismenny <borisp@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions