projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efe4208
)
udp: fix a typo in __udp4_lib_mcast_demux_lookup
author
Eric Dumazet
<edumazet@google.com>
Wed, 9 Oct 2013 04:47:29 +0000
(21:47 -0700)
committer
David S. Miller
<davem@davemloft.net>
Wed, 9 Oct 2013 05:51:57 +0000
(
01:51
-0400)
At this point sk might contain garbage.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/udp.c
patch
|
blob
|
history
diff --git
a/net/ipv4/udp.c
b/net/ipv4/udp.c
index
4226c53
..
9f27bb8
100644
(file)
--- 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))) {