aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched/act_simple.c
diff options
context:
space:
mode:
authorVlad Buslov <vladbu@mellanox.com>2019-02-15 17:18:44 +0200
committerDavid S. Miller <davem@davemloft.net>2019-02-17 13:26:57 -0800
commit8b58d12f4ae1a10037b824b1fb409cf424d6aaac (patch)
treebdb529b1eae848320e967f01eb082ec5cd4430f0 /net/sched/act_simple.c
parentnet: sched: matchall: verify that filter is not NULL in mall_walk() (diff)
downloadlinux-dev-8b58d12f4ae1a10037b824b1fb409cf424d6aaac.tar.xz
linux-dev-8b58d12f4ae1a10037b824b1fb409cf424d6aaac.zip
net: sched: cgroup: verify that filter is not NULL during walk
Check that filter is not NULL before passing it to tcf_walker->fn() callback in cls_cgroup_walk(). This can happen when cls_cgroup_change() failed to set first filter. Fixes: ed76f5edccc9 ("net: sched: protect filter_chain list with filter_chain_lock mutex") Signed-off-by: Vlad Buslov <vladbu@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/act_simple.c')
0 files changed, 0 insertions, 0 deletions