tree:   git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master
head:   54996b529ab70ca1d6f40677cd2698c4f7127e87
commit: c7953ef23042b7c4fc2be5ecdd216aacff6df5eb [625/646] net: sched: 
cls_cgroup use RCU

net/sched/cls_cgroup.c:130 cls_cgroup_change() warn: possible memory leak of 
'new'
net/sched/cls_cgroup.c:135 cls_cgroup_change() warn: possible memory leak of 
'new'
net/sched/cls_cgroup.c:139 cls_cgroup_change() warn: possible memory leak of 
'new'

git remote add net-next 
git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git
git remote update net-next
git checkout c7953ef23042b7c4fc2be5ecdd216aacff6df5eb
vim +/new +130 net/sched/cls_cgroup.c

f4009237 Thomas Graf    2008-11-07  124         }
f4009237 Thomas Graf    2008-11-07  125  
c7953ef2 John Fastabend 2014-09-12  126         new->tp = tp;
f4009237 Thomas Graf    2008-11-07  127         err = nla_parse_nested(tb, 
TCA_CGROUP_MAX, tca[TCA_OPTIONS],
f4009237 Thomas Graf    2008-11-07  128                                
cgroup_policy);
f4009237 Thomas Graf    2008-11-07  129         if (err < 0)
f4009237 Thomas Graf    2008-11-07  130                 return err;
f4009237 Thomas Graf    2008-11-07  131  
5da57f42 WANG Cong      2013-12-15  132         tcf_exts_init(&e, 
TCA_CGROUP_ACT, TCA_CGROUP_POLICE);
2f7ef2f8 Cong Wang      2014-04-25  133         err = tcf_exts_validate(net, 
tp, tb, tca[TCA_RATE], &e, ovr);
f4009237 Thomas Graf    2008-11-07  134         if (err < 0)
f4009237 Thomas Graf    2008-11-07  135                 return err;
f4009237 Thomas Graf    2008-11-07  136  
f4009237 Thomas Graf    2008-11-07  137         err = tcf_em_tree_validate(tp, 
tb[TCA_CGROUP_EMATCHES], &t);
f4009237 Thomas Graf    2008-11-07  138         if (err < 0)
f4009237 Thomas Graf    2008-11-07  139                 return err;
f4009237 Thomas Graf    2008-11-07  140  
c7953ef2 John Fastabend 2014-09-12  141         tcf_exts_change(tp, &new->exts, 
&e);
c7953ef2 John Fastabend 2014-09-12  142         tcf_em_tree_change(tp, 
&new->ematches, &t);

---
0-DAY kernel build testing backend              Open Source Technology Center
http://lists.01.org/mailman/listinfo/kbuild                 Intel Corporation
_______________________________________________
kbuild mailing list
kbuild@lists.01.org
https://lists.01.org/mailman/listinfo/kbuild

Reply via email to