Whamcloud - gitweb
LU-10391 lnet: fix build issue when IPv6 is disabled. 90/48990/2
authorJames Simmons <jsimmons@infradead.org>
Mon, 31 Oct 2022 16:43:43 +0000 (12:43 -0400)
committerOleg Drokin <green@whamcloud.com>
Tue, 8 Nov 2022 08:50:53 +0000 (08:50 +0000)
commit896cd5b7bcf94d4fd2ec20c808d66e11ca87939f
tree682f62fe8047ba37bd193ea5d7da22ec80cde39b
parent122644ae1916601566946e71152e17fdb540a15e
LU-10391 lnet: fix build issue when IPv6 is disabled.

struct inet6_dev and struct inet6_ifaddr are not defined if IPv6
is not configured for the Linux kernel.

Test-Parameters: trivial
Fixes: 781499eee64 ("LU-10391 lnet: support IPv6 in lnet_inet_enumerate()")
Change-Id: I8b16ad7bea1394c4560130190023590213ff2ded
Signed-off-by: James Simmons <jsimmons@infradead.org>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/48990
Reviewed-by: Chris Horn <chris.horn@hpe.com>
Reviewed-by: Neil Brown <neilb@suse.de>
Reviewed-by: Frank Sehr <fsehr@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lnet/lnet/config.c