[PATCH] net/sfc: fix MAC address entry leak in transfer flow parsing

Ferruh Yigit ferruh.yigit at amd.com
Tue Feb 14 19:50:50 CET 2023


On 2/14/2023 1:41 PM, Andrew Rybchenko wrote:
> On 2/14/23 16:06, Ivan Malov wrote:
>> When the action parsing helper discovers it can "attach" to
>> an existing action set, it must invoke "delete" on the MAC
>> address(es) that it has "attached" to during parsing. That
>> is because the action set itself (i.e. not the flow rule
>> entry) holds a reference of the address(es).
>>
>> Fixes: 4c6005999e41 ("net/sfc: support MAC address edits in transfer
>> flows")
>> Cc: stable at dpdk.org
>>
>> Signed-off-by: Ivan Malov <ivan.malov at arknetworks.am>
>> Reviewed-by: Viacheslav Galaktionov
>> <viacheslav.galaktionov at arknetworks.am>
>> Reviewed-by: Andy Moreton <amoreton at xilinx.com>
> 
> Acked-by: Andrew Rybchenko <andrew.rybchenko at oktetlabs.ru>
> 
> 

Applied to dpdk-next-net/main, thanks.


More information about the stable mailing list