__s32 accept_dad;
__s32 force_tllao;
__s32 ndisc_notify;
+ __s32 use_oif_addrs_only;
void *sysctl;
};
}
#if IS_ENABLED(CONFIG_IPV6)
-static inline struct ipv6_pinfo * inet6_sk(const struct sock *__sk)
+static inline struct ipv6_pinfo *inet6_sk(const struct sock *__sk)
{
- return inet_sk(__sk)->pinet6;
+ return sk_fullsock(__sk) ? inet_sk(__sk)->pinet6 : NULL;
}
static inline struct inet6_request_sock *