commit | 3421fb15be01ff4714fed5a5d6db64849b59a1fd | [log] [tgz] |
---|---|---|
author | tsutomu.owa@toshiba.co.jp <tsutomu.owa@toshiba.co.jp> | Tue Sep 12 09:01:38 2017 +0000 |
committer | David Teigland <teigland@redhat.com> | Mon Sep 25 12:45:21 2017 -0500 |
tree | d9b920648f4ecdf68e5bbcc2c3d1485989363970 | |
parent | 294e7e458763dc1d229cbbe7147a6034bfc6e39a [diff] |
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>