aboutsummaryrefslogtreecommitdiffstats
path: root/fs/9p/vfs_super.c
diff options
context:
space:
mode:
authorzhengbin <zhengbin13@huawei.com>2019-03-13 16:01:37 +0800
committerDominique Martinet <dominique.martinet@cea.fr>2019-03-13 11:50:04 +0100
commitbb06c388fa20ae24cfe80c52488de718a7e3a53f (patch)
tree895a685a5a80e98886fea7dfde21d273125d6137 /fs/9p/vfs_super.c
parent9p: use inode->i_lock to protect i_size_write() under 32-bit (diff)
downloadlinux-dev-bb06c388fa20ae24cfe80c52488de718a7e3a53f.tar.xz
linux-dev-bb06c388fa20ae24cfe80c52488de718a7e3a53f.zip
9p/net: fix memory leak in p9_client_create
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>
Diffstat (limited to 'fs/9p/vfs_super.c')
0 files changed, 0 insertions, 0 deletions