https://github.com/torvalds/linux
Revision d58299a478c416c0b48e4b31c6332fe7beb63000 authored by Edward Cree on 29 June 2017, 15:50:06 UTC, committed by David S. Miller on 29 June 2017, 19:59:38 UTC
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>
1 parent e44699d
History
Tip revision: d58299a478c416c0b48e4b31c6332fe7beb63000 authored by Edward Cree on 29 June 2017, 15:50:06 UTC
sfc: fix attempt to translate invalid filter ID
Tip revision: d58299a
File Mode Size
Makefile -rw-r--r-- 377 bytes
compat.c -rw-r--r-- 19.1 KB
compat_mq.c -rw-r--r-- 3.9 KB
ipc_sysctl.c -rw-r--r-- 5.4 KB
mq_sysctl.c -rw-r--r-- 2.9 KB
mqueue.c -rw-r--r-- 35.8 KB
msg.c -rw-r--r-- 23.5 KB
msgutil.c -rw-r--r-- 3.6 KB
namespace.c -rw-r--r-- 4.6 KB
sem.c -rw-r--r-- 55.5 KB
shm.c -rw-r--r-- 33.5 KB
syscall.c -rw-r--r-- 2.3 KB
util.c -rw-r--r-- 21.0 KB
util.h -rw-r--r-- 6.4 KB

back to top