diff options
author | 2017-06-29 16:50:06 +0100 | |
---|---|---|
committer | 2017-06-29 15:59:38 -0400 | |
commit | d58299a478c416c0b48e4b31c6332fe7beb63000 (patch) | |
tree | 7e1c5c96244bdb703fae5368db5f9c146e05e427 /net/unix/af_unix.c | |
parent | net: handle NAPI_GRO_FREE_STOLEN_HEAD case also in napi_frags_finish() (diff) | |
download | wireguard-linux-d58299a478c416c0b48e4b31c6332fe7beb63000.tar.xz wireguard-linux-d58299a478c416c0b48e4b31c6332fe7beb63000.zip |
sfc: fix attempt to translate invalid filter ID
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: fix filter_id misinterpretation in edge case")
Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions