]> Git Repo - linux.git/commit
net/mlx5: E-Switch, Fix memory leak when creating switchdev mode FDB tables
authorRaed Salem <[email protected]>
Tue, 21 Aug 2018 12:22:42 +0000 (15:22 +0300)
committerSaeed Mahameed <[email protected]>
Thu, 6 Sep 2018 00:08:33 +0000 (17:08 -0700)
commitc88a026e01219488e745f4f0267fd76c2bb68421
treeeed8b8d60e0fbab31733671962aa23f049ff4763
parenta09036221092989b88c55d24d1f12ceb1d7d361f
net/mlx5: E-Switch, Fix memory leak when creating switchdev mode FDB tables

The memory allocated for the slow path table flow group input structure
was not freed upon successful return, fix that.

Fixes: 1967ce6ea5c8 ("net/mlx5: E-Switch, Refactor fast path FDB table creation in switchdev mode")
Signed-off-by: Raed Salem <[email protected]>
Reviewed-by: Or Gerlitz <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c
This page took 0.051274 seconds and 4 git commands to generate.