]> git.baikalelectronics.ru Git - kernel.git/commit
rxrpc: Fix dependency on IPv6 in udp tunnel config
authorVadim Fedorenko <vfedorenko@novek.ru>
Fri, 12 Feb 2021 10:48:14 +0000 (13:48 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 Feb 2021 00:42:05 +0000 (16:42 -0800)
commit295f830e53f4838344c97e12ce69637e2128ca8d
treece85794bad8e3dc8f01d5726ebc3539e8febb3e4
parent0a2f6b32cc45e3918321779fe90c28f1ed27d2af
rxrpc: Fix dependency on IPv6 in udp tunnel config

As udp_port_cfg struct changes its members with dependency on IPv6
configuration, the code in rxrpc should also check for IPv6.

Fixes: 1a9b86c9fd95 ("rxrpc: use udp tunnel APIs instead of open code in rxrpc_open_socket")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Vadim Fedorenko <vfedorenko@novek.ru>
Acked-by: David Howells <dhowells@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rxrpc/local_object.c