Message ID | 1668953828-10909-11-git-send-email-jsimmons@infradead.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | lustre: backport OpenSFS work as of Nov 20, 2022 | expand |
diff --git a/net/lnet/lnet/config.c b/net/lnet/lnet/config.c index 4b2d776..5bfae4e 100644 --- a/net/lnet/lnet/config.c +++ b/net/lnet/lnet/config.c @@ -1501,8 +1501,10 @@ int lnet_inet_enumerate(struct lnet_inetdev **dev_list, struct net *ns, bool v6) int flags = dev_get_flags(dev); const struct in_ifaddr *ifa; struct in_device *in_dev; +#if IS_ENABLED(CONFIG_IPV6) struct inet6_dev *in6_dev; const struct inet6_ifaddr *ifa6; +#endif int node_id; int cpt;