summaryrefslogtreecommitdiff
path: root/drivers/net/bareudp.c
diff options
context:
space:
mode:
authorPaolo Abeni <pabeni@redhat.com>2021-03-30 12:28:55 +0200
committerDavid S. Miller <davem@davemloft.net>2021-03-30 17:06:50 -0700
commitb03ef676ba6dc53c728e936a1709d4bf35362184 (patch)
tree046e17d05653384819829700b0d44f3268c50e05 /drivers/net/bareudp.c
parent61630c4f052b197191d1d8f3a749d204a5cbdeae (diff)
bareudp: allow UDP L4 GRO passthrou
Similar to the previous commit, let even geneve passthrou the L4 GRO packets Signed-off-by: Paolo Abeni <pabeni@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bareudp.c')
-rw-r--r--drivers/net/bareudp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/bareudp.c b/drivers/net/bareudp.c
index 7511bca9c15e..edfad93e7b68 100644
--- a/drivers/net/bareudp.c
+++ b/drivers/net/bareudp.c
@@ -218,6 +218,7 @@ static struct socket *bareudp_create_sock(struct net *net, __be16 port)
if (err < 0)
return ERR_PTR(err);
+ udp_allow_gso(sock->sk);
return sock;
}