Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f6ccdfb1 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ipv6: inet6_sk() should use sk_fullsock()"

parents e9b7748b 8beb03bd
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -259,7 +259,7 @@ struct tcp6_timewait_sock {
#if IS_ENABLED(CONFIG_IPV6)
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 raw6_sock *raw6_sk(const struct sock *sk)