From: Davide Caratti Date: Sat, 20 Oct 2018 21:33:08 +0000 (+0200) Subject: net/sched: act_police: disallow 'goto chain' on fallback control action X-Git-Tag: v4.20-rc1~151^2~18^2~2 X-Git-Url: https://git.codelabs.ch/?p=muen%2Flinux.git;a=commitdiff_plain;h=c08f5ed5d625926f38552b734b587a28e947b55c;hp=c08f5ed5d625926f38552b734b587a28e947b55c net/sched: act_police: disallow 'goto chain' on fallback control action in the following command: # tc action add action police rate burst conform-exceed / '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 Acked-by: Cong Wang Acked-by: Jiri Pirko Signed-off-by: David S. Miller ---