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

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

Merge "net: sockev: corrected sk_family filter logic"

parents 0a7909aa a28130a5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -75,7 +75,7 @@ static int sockev_client_cb(struct notifier_block *nb,
	if ((socknlmsgsk == NULL) || (sock == NULL) || (sock->sk == NULL))
		goto done;

	if (sock->sk->sk_family != AF_INET || sock->sk->sk_family != AF_INET6)
	if (sock->sk->sk_family != AF_INET && sock->sk->sk_family != AF_INET6)
		goto done;

	skb = nlmsg_new(sizeof(struct sknlsockevmsg), GFP_KERNEL);