projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.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
|
blame
|
history
diff --git
a/net/ipv4/udp.c
b/net/ipv4/udp.c
index 4226c53daaed123b06f4f4b8c486253f887a0733..9f27bb800607d5b0701fe6a8dd6a702eeb58e6e8 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))) {