diff options
| author | Colin Ian King <[email protected]> | 2020-06-30 15:16:46 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2020-06-30 20:38:47 +0000 |
| commit | 5831b33362fdb60d56314a237b764e24ee1a538e (patch) | |
| tree | 28adbb2dc388234dfaa35b3d773610473f05e012 /net/ipv4/tcp_input.c | |
| parent | mptcp: do nonce initialization at subflow creation time (diff) | |
| download | kernel-5831b33362fdb60d56314a237b764e24ee1a538e.tar.gz kernel-5831b33362fdb60d56314a237b764e24ee1a538e.zip | |
net/mlx5e: fix memory leak of tls
The error return path when create_singlethread_workqueue fails currently
does not kfree tls and leads to a memory leak. Fix this by kfree'ing
tls before returning -ENOMEM.
Addresses-Coverity: ("Resource leak")
Fixes: 1182f3659357 ("net/mlx5e: kTLS, Add kTLS RX HW offload support")
Signed-off-by: Colin Ian King <[email protected]>
Reviewed-by: Tariq Toukan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_input.c')
0 files changed, 0 insertions, 0 deletions
