diff options
author | zhengbin <zhengbin13@huawei.com> | 2019-03-13 16:01:37 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-03-23 20:09:38 +0100 |
commit | 85bdc9daff4038720aa01de1ce7234659583b027 (patch) | |
tree | 495c621067cfa051e800614b8b584d3bd264c7bf /sound | |
parent | e08ba890dc29250fafdfa7c9dba62ccfeec8ef7f (diff) | |
download | linux-stable-85bdc9daff4038720aa01de1ce7234659583b027.tar.gz linux-stable-85bdc9daff4038720aa01de1ce7234659583b027.tar.bz2 linux-stable-85bdc9daff4038720aa01de1ce7234659583b027.zip |
9p/net: fix memory leak in p9_client_create
commit bb06c388fa20ae24cfe80c52488de718a7e3a53f upstream.
If msize is less than 4096, we should close and put trans, destroy
tagpool, not just free client. This patch fixes that.
Link: http://lkml.kernel.org/m/1552464097-142659-1-git-send-email-zhengbin13@huawei.com
Cc: stable@vger.kernel.org
Fixes: 574d356b7a02 ("9p/net: put a lower bound on msize")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: zhengbin <zhengbin13@huawei.com>
Signed-off-by: Dominique Martinet <dominique.martinet@cea.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions