]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
net: udp: Add support for getsockopt(..., ..., UDP_GRO, ..., ...);
authorNorman Maurer <norman_maurer@apple.com>
Thu, 1 Apr 2021 06:59:17 +0000 (08:59 +0200)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 7 May 2021 07:53:38 +0000 (09:53 +0200)
commitfcc752929bb309c473c91139ba4eae71d8a1f338
treec63d339694d19fc64b316daa012800fa4d0aad70
parente5ed80414334d3faffe2817361ed8affa49d69b8
net: udp: Add support for getsockopt(..., ..., UDP_GRO, ..., ...);

BugLink: https://bugs.launchpad.net/bugs/1926368
[ Upstream commit 98184612aca0a9ee42b8eb0262a49900ee9eef0d ]

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 <norman_maurer@apple.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
net/ipv4/udp.c