diff options
| author | zhengbin <[email protected]> | 2019-03-13 08:01:37 +0000 |
|---|---|---|
| committer | Dominique Martinet <[email protected]> | 2019-03-13 10:50:04 +0000 |
| commit | bb06c388fa20ae24cfe80c52488de718a7e3a53f (patch) | |
| tree | 895a685a5a80e98886fea7dfde21d273125d6137 /drivers/gpu/drm/omapdrm/omap_encoder.c | |
| parent | 9p: use inode->i_lock to protect i_size_write() under 32-bit (diff) | |
| download | kernel-bb06c388fa20ae24cfe80c52488de718a7e3a53f.tar.gz kernel-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/[email protected]
Cc: [email protected]
Fixes: 574d356b7a02 ("9p/net: put a lower bound on msize")
Reported-by: Hulk Robot <[email protected]>
Signed-off-by: zhengbin <[email protected]>
Signed-off-by: Dominique Martinet <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_encoder.c')
0 files changed, 0 insertions, 0 deletions
