Re: [PATCH] 9p/net: fix memory leak in p9_client_create

2019-03-13 Thread Dominique Martinet
zhengbin wrote on Wed, Mar 13, 2019: > If msize is less than 4096, we should close and put trans, destroy > tagpool, not just free client. This patch fixes that. > > Fixes: 574d356b7a02 ("9p/net: put a lower bound on msize") > Reported-by: Hulk Robot > Signed-off-by: zhengbin Ack, definitely. T

[PATCH] 9p/net: fix memory leak in p9_client_create

2019-03-13 Thread zhengbin
If msize is less than 4096, we should close and put trans, destroy tagpool, not just free client. This patch fixes that. Fixes: 574d356b7a02 ("9p/net: put a lower bound on msize") Reported-by: Hulk Robot Signed-off-by: zhengbin --- net/9p/client.c | 2 +- 1 file changed, 1 insertion(+), 1 delet