OSDN Git Service

net: Change the udp encap_err_rcv to allow use of {ip,ipv6}_icmp_error()
authorDavid Howells <dhowells@redhat.com>
Wed, 12 Oct 2022 07:49:29 +0000 (08:49 +0100)
committerDavid Howells <dhowells@redhat.com>
Tue, 8 Nov 2022 16:42:28 +0000 (16:42 +0000)
commit42fb06b391ace2aec5cdb1ebb8ff668f0a34332f
treeaa9e79d759167641a8101d126341c3aff5a7c68a
parent8889a711f9b4dcf4dd1330fa493081beebd118c9
net: Change the udp encap_err_rcv to allow use of {ip,ipv6}_icmp_error()

Change the udp encap_err_rcv signature to match ip_icmp_error() and
ipv6_icmp_error() so that those can be used from the called function and
export them.

Signed-off-by: David Howells <dhowells@redhat.com>
cc: Marc Dionne <marc.dionne@auristor.com>
cc: linux-afs@lists.infradead.org
cc: netdev@vger.kernel.org
include/linux/udp.h
include/net/udp_tunnel.h
net/ipv4/ip_sockglue.c
net/ipv4/udp.c
net/ipv6/datagram.c
net/ipv6/udp.c
net/rxrpc/ar-internal.h
net/rxrpc/peer_event.c