diff options
author | David Howells <dhowells@redhat.com> | 2022-10-12 09:49:29 +0200 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2022-11-08 17:42:28 +0100 |
commit | 42fb06b391ace2aec5cdb1ebb8ff668f0a34332f (patch) | |
tree | aa9e79d759167641a8101d126341c3aff5a7c68a /net/ipv4/ip_sockglue.c | |
parent | rxrpc: Fix ack.bufferSize to be 0 when generating an ack (diff) | |
download | linux-42fb06b391ace2aec5cdb1ebb8ff668f0a34332f.tar.xz linux-42fb06b391ace2aec5cdb1ebb8ff668f0a34332f.zip |
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
Diffstat (limited to 'net/ipv4/ip_sockglue.c')
-rw-r--r-- | net/ipv4/ip_sockglue.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv4/ip_sockglue.c b/net/ipv4/ip_sockglue.c index 5f16807d3235..9f92ae35bb01 100644 --- a/net/ipv4/ip_sockglue.c +++ b/net/ipv4/ip_sockglue.c @@ -433,6 +433,7 @@ void ip_icmp_error(struct sock *sk, struct sk_buff *skb, int err, } kfree_skb(skb); } +EXPORT_SYMBOL_GPL(ip_icmp_error); void ip_local_error(struct sock *sk, int err, __be32 daddr, __be16 port, u32 info) { |