diff mbox series

[net-next,6/8] geneve: allow UDP L4 GRO passthrou

Message ID 59e5be3294aac21d20dc9afae0958e0630622d42.1616345643.git.pabeni@redhat.com
State Superseded
Headers show
Series udp: GRO L4 improvements | expand

Commit Message

Paolo Abeni March 21, 2021, 5:01 p.m. UTC
Similar to the previous commit, let even geneve
passthrou the L4 GRO packets

Signed-off-by: Paolo Abeni <pabeni@redhat.com>
---
 drivers/net/geneve.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/drivers/net/geneve.c b/drivers/net/geneve.c
index 4ac0373326efd..5d7a2b1469f4c 100644
--- a/drivers/net/geneve.c
+++ b/drivers/net/geneve.c
@@ -461,6 +461,7 @@  static struct socket *geneve_create_sock(struct net *net, bool ipv6,
 	if (err < 0)
 		return ERR_PTR(err);
 
+	udp_allow_gso(sock->sk);
 	return sock;
 }