From: Norman Maurer <hidden> Date: 2021-04-01 07:00:18
From: Norman Maurer <redacted>
Support for UDP_GRO was added in the past but the implementation for
getsockopt was missed which did lead to an error when we tried to
retrieve the setting for UDP_GRO. This patch adds the missing switch
case for UDP_GRO
Fixes: e20cf8d3f1f7 ("udp: implement GRO for plain UDP sockets.")
Signed-off-by: Norman Maurer <redacted>
---
net/ipv4/udp.c | 4 ++++
1 file changed, 4 insertions(+)
@@ -2754,6 +2754,10 @@ int udp_lib_getsockopt(struct sock *sk, int level, int optname,val=up->gso_size;break;+caseUDP_GRO:+val=up->gro_enabled;+break;+/* The following two cannot be changed on UDP sockets, the return is*always0(whichcorrespondstothefullchecksumcoverageofUDP).*/caseUDPLITE_SEND_CSCOV:
From: David Ahern <hidden> Date: 2021-04-01 18:22:58
On 4/1/21 12:59 AM, Norman Maurer wrote:
From: Norman Maurer <redacted>
Support for UDP_GRO was added in the past but the implementation for
getsockopt was missed which did lead to an error when we tried to
retrieve the setting for UDP_GRO. This patch adds the missing switch
case for UDP_GRO
Fixes: e20cf8d3f1f7 ("udp: implement GRO for plain UDP sockets.")
Signed-off-by: Norman Maurer <redacted>
---
net/ipv4/udp.c | 4 ++++
1 file changed, 4 insertions(+)
Hello:
This patch was applied to netdev/net.git (refs/heads/master):
On Thu, 1 Apr 2021 08:59:17 +0200 you wrote:
From: Norman Maurer <redacted>
Support for UDP_GRO was added in the past but the implementation for
getsockopt was missed which did lead to an error when we tried to
retrieve the setting for UDP_GRO. This patch adds the missing switch
case for UDP_GRO
[...]