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

Andrew Rybchenko andrew.rybchenko at oktetlabs.ru
Tue Feb 14 14:41:26 CET 2023


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>




More information about the stable mailing list