Messages in this thread | | | Date | Tue, 30 Jun 2020 13:38:58 -0700 (PDT) | Subject | Re: [PATCH][next] net/mlx5e: fix memory leak of tls | From | David Miller <> |
| |
From: Colin King <colin.king@canonical.com> Date: Tue, 30 Jun 2020 16:16:46 +0100
> From: Colin Ian King <colin.king@canonical.com> > > 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 <colin.king@canonical.com>
Applied, thanks.
| |