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

Commit f69b923a authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller
Browse files

udp: fix a typo in __udp4_lib_mcast_demux_lookup



At this point sk might contain garbage.

Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent efe4208f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1847,7 +1847,7 @@ static struct sock *__udp4_lib_mcast_demux_lookup(struct net *net,
		if (count != 1 ||
		    unlikely(!atomic_inc_not_zero_hint(&result->sk_refcnt, 2)))
			result = NULL;
		else if (unlikely(!__udp_is_mcast_sock(net, sk,
		else if (unlikely(!__udp_is_mcast_sock(net, result,
						       loc_port, loc_addr,
						       rmt_port, rmt_addr,
						       dif, hnum))) {