linux-hardened/drivers/net/ethernet/mellanox
Wei Yongjun 27902f0806 net/mlx5e: Fix possible memory leak
'encap_header' is malloced and should be freed before leaving from
the error handling cases, otherwise it will cause memory leak.

Fixes: 232c001398 ("net/mlx5e: Add support to neighbour update flow")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Reviewed-by: Yuval Shaia <yuval.shaia@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-05-18 15:18:31 -04:00
..
mlx4 net/mlx4_core: Use min3 to select number of MSI-X vectors 2017-05-15 14:20:26 -04:00
mlx5/core net/mlx5e: Fix possible memory leak 2017-05-18 15:18:31 -04:00
mlxsw mlxsw: spectrum_dpipe: Fix sparse warnings 2017-05-18 11:05:31 -04:00
Kconfig mlxsw: Introduce Mellanox switch driver core 2015-07-30 00:04:59 -07:00
Makefile mlxsw: Introduce Mellanox switch driver core 2015-07-30 00:04:59 -07:00