ipv6: avoid indirect calls for SOL_IP socket options
authorEric Dumazet <edumazet@google.com>
Fri, 23 Aug 2024 14:00:19 +0000 (14:00 +0000)
committerJakub Kicinski <kuba@kernel.org>
Mon, 26 Aug 2024 21:53:50 +0000 (14:53 -0700)
commit89683b45f15ca5e0064d6dc1c1bfaa8aacc208f5
tree6122254592d3a1fdbc8916bcee8cc97db092c3ff
parent9ceebd7a264798a792a3cf515f4c331704d4c5fb
ipv6: avoid indirect calls for SOL_IP socket options

ipv6_setsockopt() can directly call ip_setsockopt()
instead of going through udp_prot.setsockopt()

ipv6_getsockopt() can directly call ip_getsockopt()
instead of going through udp_prot.getsockopt()

These indirections predate git history, not sure why they
were there.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Link: https://patch.msgid.link/20240823140019.3727643-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/ipv6/ipv6_sockglue.c