OSDN Git Service

veth: use skb_prepare_for_gro()
authorPaolo Abeni <pabeni@redhat.com>
Wed, 28 Jul 2021 16:24:04 +0000 (18:24 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 29 Jul 2021 11:18:12 +0000 (12:18 +0100)
commitd504fff0d14a0fd683e9ec1f736c6e1f894667ae
tree3fd1eae06a0bb5286063d8aed35c11a51db5c531
parent5e10da5385d20c4bae587bc2921e5fdd9655d5fc
veth: use skb_prepare_for_gro()

Leveraging the previous patch we can now avoid orphaning the
skb in the veth gro path, allowing correct backpressure.

Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/veth.c