kernel: net_sched: fix a NULL pointer deref in ipt action
[openwrt/staging/stintel.git] / target / linux / generic / backport-4.19 / 380-v5.3-net-sched-Introduce-act_ctinfo-action.patch
index d0047435fd5f3fc8ed1cf9ca862ebc973e8d5dde..909c68e1b51621fbb3192b0bf10f3b45e5352e16 100644 (file)
@@ -555,7 +555,7 @@ Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
 +{
 +      struct tc_action_net *tn = net_generic(net, ctinfo_net_id);
 +
-+      return tc_action_net_init(tn, &act_ctinfo_ops);
++      return tc_action_net_init(net, tn, &act_ctinfo_ops);
 +}
 +
 +static void __net_exit ctinfo_exit_net(struct list_head *net_list)