From: Colin King <colin.king@xxxxxxxxxxxxx> Date: Tue, 30 Jun 2020 16:16:46 +0100 > From: Colin Ian King <colin.king@xxxxxxxxxxxxx> > > 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@xxxxxxxxxxxxx> Applied, thanks.