summary refs log tree commit diff
path: root/block/blk-mq-sched.h
diff options
context:
space:
mode:
authorVlad Buslov <vladbu@mellanox.com>2019-02-15 17:17:56 +0200
committerDavid S. Miller <davem@davemloft.net>2019-02-17 13:26:39 -0800
commitd66022cd1623edfd7b43e13c9e973403a811af02 (patch)
tree15065b291045abc24f07c5f72086c417b6fcebe0 /block/blk-mq-sched.h
parent3027ff41f67cbef1ad58af68601455db81b0fae5 (diff)
downloadlinux-d66022cd1623edfd7b43e13c9e973403a811af02.tar.gz
net: sched: matchall: verify that filter is not NULL in mall_walk()
Check that filter is not NULL before passing it to tcf_walker->fn()
callback. This can happen when mall_change() failed to offload filter to
hardware.

Fixes: ed76f5edccc9 ("net: sched: protect filter_chain list with filter_chain_lock mutex")
Reported-by: Ido Schimmel <idosch@mellanox.com>
Tested-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Vlad Buslov <vladbu@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'block/blk-mq-sched.h')
0 files changed, 0 insertions, 0 deletions