Lines Matching refs:new
84 struct cls_cgroup_head *new; in cls_cgroup_change() local
96 new = kzalloc(sizeof(*head), GFP_KERNEL); in cls_cgroup_change()
97 if (!new) in cls_cgroup_change()
100 err = tcf_exts_init(&new->exts, net, TCA_CGROUP_ACT, TCA_CGROUP_POLICE); in cls_cgroup_change()
103 new->handle = handle; in cls_cgroup_change()
104 new->tp = tp; in cls_cgroup_change()
111 err = tcf_exts_validate(net, tp, tb, tca[TCA_RATE], &new->exts, ovr, in cls_cgroup_change()
116 err = tcf_em_tree_validate(tp, tb[TCA_CGROUP_EMATCHES], &new->ematches); in cls_cgroup_change()
120 rcu_assign_pointer(tp->root, new); in cls_cgroup_change()
127 tcf_exts_destroy(&new->exts); in cls_cgroup_change()
128 kfree(new); in cls_cgroup_change()