summaryrefslogtreecommitdiffstats
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-31 02:06:50 +0200
commitb03ef676ba6dc53c728e936a1709d4bf35362184 (patch)
tree046e17d05653384819829700b0d44f3268c50e05 /drivers/net/bareudp.c
parentgeneve: allow UDP L4 GRO passthrou (diff)
downloadlinux-b03ef676ba6dc53c728e936a1709d4bf35362184.tar.xz
linux-b03ef676ba6dc53c728e936a1709d4bf35362184.zip
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;
}