From: Eric Dumazet Date: Wed, 9 Oct 2013 04:47:29 +0000 (-0700) Subject: udp: fix a typo in __udp4_lib_mcast_demux_lookup X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f69b923a758f598fd6bb69e57564b59506f4f1fc;p=openwrt%2Fstaging%2Fblogic.git udp: fix a typo in __udp4_lib_mcast_demux_lookup At this point sk might contain garbage. Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- diff --git a/net/ipv4/udp.c b/net/ipv4/udp.c index 4226c53daaed..9f27bb800607 100644 --- a/net/ipv4/udp.c +++ b/net/ipv4/udp.c @@ -1847,7 +1847,7 @@ begin: 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))) {