> -----Original Message----- > From: Intel-wired-lan <[email protected]> On Behalf Of > Aleksandr Loktionov > Sent: 20 March 2026 10:36 > To: [email protected]; Nguyen, Anthony L > <[email protected]>; Loktionov, Aleksandr > <[email protected]> > Cc: [email protected]; Staniszewski, Jakub <[email protected]> > Subject: [Intel-wired-lan] [PATCH iwl-next] ice: fix FDB deletion > > From: Jakub Staniszewski <[email protected]> > > Correct the logic in ndo_fdb_del() to align with other drivers in upstream. > The condition was inverted — it was rejecting permanent > (NUD_PERMANENT) MAC addresses while allowing non-permanent ones to be > deleted, which is the opposite of the intended behavior. > > The correct logic is to reject deletion of non-permanent entries, mirroring > the fix applied to ndo_dflt_fdb_del() in commit 645359930231 > ("rtnetlink: Fix inverted check in ndo_dflt_fdb_del()"). > > Fixes: e94d4478669357cd ("ice: Implement filter sync, NDO operations and bump > version") > Signed-off-by: Jakub Staniszewski <[email protected]> > Signed-off-by: Aleksandr Loktionov <[email protected]> > --- > drivers/net/ethernet/intel/ice/ice_main.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >
Tested-by: Rinitha S <[email protected]> (A Contingent worker at Intel)
