Re: [PATCH net] sfc: fix attempt to translate invalid filter ID

2017-06-29 Thread David Miller
From: Edward Cree Date: Thu, 29 Jun 2017 16:50:06 +0100 > When filter insertion fails with no rollback, we were trying to convert > EFX_EF10_FILTER_ID_INVALID to an id to store in 'ids' (which is either > vlan->uc or vlan->mc). This would WARN_ON_ONCE and then record a bogus > filter ID of 0x

[PATCH net] sfc: fix attempt to translate invalid filter ID

2017-06-29 Thread Edward Cree
When filter insertion fails with no rollback, we were trying to convert EFX_EF10_FILTER_ID_INVALID to an id to store in 'ids' (which is either vlan->uc or vlan->mc). This would WARN_ON_ONCE and then record a bogus filter ID of 0x1fff, neither of which is a good thing. Fixes: 0ccb998bf46d ("sfc