original_kernel/net/9p
zhengbin bb06c388fa 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: 574d356b7a ("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>
2019-03-13 11:50:04 +01:00
..
Kconfig
Makefile
client.c 9p/net: fix memory leak in p9_client_create 2019-03-13 11:50:04 +01:00
error.c
mod.c
protocol.c
protocol.h
trans_common.c net/9p: include trans_common.h to fix missing prototype warning. 2018-11-20 15:04:16 +09:00
trans_common.h
trans_fd.c
trans_rdma.c
trans_virtio.c
trans_xen.c 9p: mark expected switch fall-through 2019-01-23 16:29:54 +09:00