summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2023-01-06 14:25:23 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-01-18 11:58:26 +0100
commit0b1605e45c36968a508703e08bf0947a68732841 (patch)
tree2d48f1bccaef8e5bc944db1c07afa24c32d2b743 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentdf9cddce8f99a47af8a8cf035ef367e9aa256fa5 (diff)
gro: take care of DODGY packets
[ Upstream commit 7871f54e3deed68a27111dda162c4fe9b9c65f8f ] Jaroslav reported a recent throughput regression with virtio_net caused by blamed commit. It is unclear if DODGY GSO packets coming from user space can be accepted by GRO engine in the future with minimal changes, and if there is any expected gain from it. In the meantime, make sure to detect and flush DODGY packets. Fixes: 5eddb24901ee ("gro: add support of (hw)gro packets to gro stack") Signed-off-by: Eric Dumazet <edumazet@google.com> Reported-and-bisected-by: Jaroslav Pulchart <jaroslav.pulchart@gooddata.com> Cc: Coco Li <lixiaoyan@google.com> Cc: Paolo Abeni <pabeni@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions