diff options
author | Eric Dumazet <edumazet@google.com> | 2013-10-08 21:47:29 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-10-09 01:51:57 -0400 |
commit | f69b923a758f598fd6bb69e57564b59506f4f1fc (patch) | |
tree | fef4eb393db37bc1c2f78e26de5752943f2b7eb2 /net/ipv4/udp.c | |
parent | efe4208f47f907b86f528788da711e8ab9dea44d (diff) | |
download | linux-stable-f69b923a758f598fd6bb69e57564b59506f4f1fc.tar.gz linux-stable-f69b923a758f598fd6bb69e57564b59506f4f1fc.tar.bz2 linux-stable-f69b923a758f598fd6bb69e57564b59506f4f1fc.zip |
udp: fix a typo in __udp4_lib_mcast_demux_lookup
At this point sk might contain garbage.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/udp.c')
-rw-r--r-- | net/ipv4/udp.c | 2 |
1 files changed, 1 insertions, 1 deletions
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))) { |