diff options
| author | Maor Gottlieb <[email protected]> | 2021-01-20 15:41:18 +0000 |
|---|---|---|
| committer | Saeed Mahameed <[email protected]> | 2021-02-02 07:02:01 +0000 |
| commit | a5bfe6b4675e0eefbd9418055b5cc6e89af27eb4 (patch) | |
| tree | 9a1c3584aaf3a8715959153446a893f64ee295f6 /drivers/usb/cdns3/cdns3-imx.c | |
| parent | net/mlx5: Fix function calculation for page trees (diff) | |
| download | kernel-a5bfe6b4675e0eefbd9418055b5cc6e89af27eb4.tar.gz kernel-a5bfe6b4675e0eefbd9418055b5cc6e89af27eb4.zip | |
net/mlx5: Fix leak upon failure of rule creation
When creation of a new rule that requires allocation of an FTE fails,
need to call to tree_put_node on the FTE in order to release its'
resource.
Fixes: cefc23554fc2 ("net/mlx5: Fix FTE cleanup")
Signed-off-by: Maor Gottlieb <[email protected]>
Reviewed-by: Alaa Hleihel <[email protected]>
Reviewed-by: Mark Bloch <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions
