diff options
author | tsutomu.owa@toshiba.co.jp <tsutomu.owa@toshiba.co.jp> | 2017-09-12 09:01:38 +0000 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2017-09-25 12:45:21 -0500 |
commit | 3421fb15be01ff4714fed5a5d6db64849b59a1fd (patch) | |
tree | d9b920648f4ecdf68e5bbcc2c3d1485989363970 /sound | |
parent | 294e7e458763dc1d229cbbe7147a6034bfc6e39a (diff) | |
download | linux-3421fb15be01ff4714fed5a5d6db64849b59a1fd.tar.gz linux-3421fb15be01ff4714fed5a5d6db64849b59a1fd.tar.bz2 linux-3421fb15be01ff4714fed5a5d6db64849b59a1fd.zip |
DLM: fix memory leak in tcp_accept_from_sock()
The sk member of the socket generated by sock_create_kern() is overwritten
by ops->accept(). So the previous sk will not be released.
We use kernel_accept() instead of sock_create_kern() and ops->accept().
Signed-off-by: Tadashi Miyauchi <miyauchi@toshiba-tops.co.jp>
Signed-off-by: Tsutomu Owa <tsutomu.owa@toshiba.co.jp>
Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions