summaryrefslogtreecommitdiffstats
path: root/ipc/shm.c
diff options
context:
space:
mode:
authorKhalid Manaa <khalidm@nvidia.com>2022-01-26 14:25:55 +0200
committerSaeed Mahameed <saeedm@nvidia.com>2022-02-01 20:59:41 -0800
commit7957837b816f11eecb9146235bb0715478f4c81f (patch)
treebe1bae141074fff0ec5f68ded0c5137b4b3cd75f /ipc/shm.c
parentb8d91145ed7cfa046cc07bcfb277465b9d45da73 (diff)
downloadlinux-stable-7957837b816f11eecb9146235bb0715478f4c81f.tar.gz
linux-stable-7957837b816f11eecb9146235bb0715478f4c81f.tar.bz2
linux-stable-7957837b816f11eecb9146235bb0715478f4c81f.zip
net/mlx5e: Fix broken SKB allocation in HW-GRO
In case the HW doesn't perform header-data split, it will write the whole packet into the data buffer in the WQ, in this case the SHAMPO CQE handler couldn't use the header entry to build the SKB, instead it should allocate a new memory to build the SKB using the function: mlx5e_skb_from_cqe_mpwrq_nonlinear. Fixes: f97d5c2a453e ("net/mlx5e: Add handle SHAMPO cqe support") Signed-off-by: Khalid Manaa <khalidm@nvidia.com> Reviewed-by: Tariq Toukan <tariqt@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'ipc/shm.c')
0 files changed, 0 insertions, 0 deletions