Re: [net v2 1/7] net/mlx5e: Fix modify header actions memory leak

2020-11-07 Thread patchwork-bot+netdevbpf
Hello: This series was applied to netdev/net.git (refs/heads/master): On Thu, 5 Nov 2020 12:21:23 -0800 you wrote: > From: Maor Dickman > > Modify header actions are allocated during parse tc actions and only > freed during the flow creation, however, on error flow the allocated > memory is wro

[net v2 1/7] net/mlx5e: Fix modify header actions memory leak

2020-11-05 Thread Saeed Mahameed
From: Maor Dickman Modify header actions are allocated during parse tc actions and only freed during the flow creation, however, on error flow the allocated memory is wrongly unfreed. Fix this by calling dealloc_mod_hdr_actions in __mlx5e_add_fdb_flow and mlx5e_add_nic_flow error flow. Fixes: d