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 | |
parent | efe4208f47f907b86f528788da711e8ab9dea44d (diff) | |
download | op-kernel-dev-f69b923a758f598fd6bb69e57564b59506f4f1fc.zip op-kernel-dev-f69b923a758f598fd6bb69e57564b59506f4f1fc.tar.gz |
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>
-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 4226c53..9f27bb8 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))) { |