projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
inet: Fix kmemleak in tcp_v4/6_syn_recv_sock and dccp_v4/6_request_recv_sock
[GitHub/mt8127/android_kernel_alcatel_ttab.git]
/
net
/
dccp
/
ipv4.c
diff --git
a/net/dccp/ipv4.c
b/net/dccp/ipv4.c
index 176ecdba4a22c0e3b4ec1b2c102032b4d64e763e..4f9f5eb478f1e97762860d0ac6d118be9b80f39f 100644
(file)
--- a/
net/dccp/ipv4.c
+++ b/
net/dccp/ipv4.c
@@
-439,8
+439,8
@@
exit:
NET_INC_STATS_BH(sock_net(sk), LINUX_MIB_LISTENDROPS);
return NULL;
put_and_exit:
-
bh_unlock_sock
(newsk);
-
sock_put
(newsk);
+
inet_csk_prepare_forced_close
(newsk);
+
dccp_done
(newsk);
goto exit;
}