summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authortsutomu.owa@toshiba.co.jp <tsutomu.owa@toshiba.co.jp>2017-09-12 09:01:38 +0000
committerDavid Teigland <teigland@redhat.com>2017-09-25 12:45:21 -0500
commit3421fb15be01ff4714fed5a5d6db64849b59a1fd (patch)
treed9b920648f4ecdf68e5bbcc2c3d1485989363970 /sound
parent294e7e458763dc1d229cbbe7147a6034bfc6e39a (diff)
downloadlinux-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