diff options
author | 2017-09-12 09:01:38 +0000 | |
---|---|---|
committer | 2017-09-25 12:45:21 -0500 | |
commit | 3421fb15be01ff4714fed5a5d6db64849b59a1fd (patch) | |
tree | d9b920648f4ecdf68e5bbcc2c3d1485989363970 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | DLM: fix conversion deadlock when DLM_LKF_NODLCKWT flag is set (diff) | |
download | wireguard-linux-3421fb15be01ff4714fed5a5d6db64849b59a1fd.tar.xz wireguard-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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions