rxrpc: Fix missing IPV6 #ifdef
authorDavid Howells <dhowells@redhat.com>
Thu, 10 Nov 2022 09:39:39 +0000 (09:39 +0000)
committerDavid Howells <dhowells@redhat.com>
Mon, 14 Nov 2022 09:31:55 +0000 (09:31 +0000)
commit41cf3a9156ba8e13e557e7908f9e22563b1f2828
tree93f9f69009286ee8b08f3aec22956b98283abc09
parentb548b17a93fd18357a5a6f535c10c1e68719ad32
rxrpc: Fix missing IPV6 #ifdef

Fix rxrpc_encap_err_rcv() to make the call to ipv6_icmp_error conditional
on IPV6 support being enabled.

Fixes: b6c66c4324e7 ("rxrpc: Use the core ICMP/ICMP6 parsers")
Reported-by: kernel test robot <lkp@intel.com>
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
net/rxrpc/local_object.c