]> git.baikalelectronics.ru Git - 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)
committerDavid S. Miller <davem@davemloft.net>
Thu, 1 Apr 2021 22:50:50 +0000 (15:50 -0700)
commit0cdf346ad329c27e1a2edc5bae639954d4d6dd7c
treefa7cadc91535d342057389dfa3bcbdb5ed4d5f02
parentdaf79721c10fc2fe1db463857d627ecc99ad20bc
net: udp: Add support for getsockopt(..., ..., UDP_GRO, ..., ...);

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: 14a34f9f453f ("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>
net/ipv4/udp.c