summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/tc-testing/tc-tests
diff options
context:
space:
mode:
authorDavide Caratti2018-10-20 23:33:08 +0200
committerDavid S. Miller2018-10-23 04:42:50 +0200
commitc08f5ed5d625926f38552b734b587a28e947b55c (patch)
tree558eb27811f3c42a1a0d2ce53de8f1687cc579f8 /tools/testing/selftests/tc-testing/tc-tests
parentnet/sched: act_gact: disallow 'goto chain' on fallback control action (diff)
downloadkernel-qcow2-linux-c08f5ed5d625926f38552b734b587a28e947b55c.tar.gz
kernel-qcow2-linux-c08f5ed5d625926f38552b734b587a28e947b55c.tar.xz
kernel-qcow2-linux-c08f5ed5d625926f38552b734b587a28e947b55c.zip
net/sched: act_police: disallow 'goto chain' on fallback control action
in the following command: # tc action add action police rate <r> burst <b> conform-exceed <c1>/<c2> 'goto chain x' is allowed only for c1: setting it for c2 makes the kernel crash with NULL pointer dereference, since TC core doesn't initialize the chain handle. Signed-off-by: Davide Caratti <dcaratti@redhat.com> Acked-by: Cong Wang <xiyou.wangcong@gmail.com> Acked-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/tc-testing/tc-tests')
0 files changed, 0 insertions, 0 deletions