Skip to content

fix idr leak in actions

Davide Caratti netdev 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest7 patches 2 repliesIn review
  2. v17 patches 1 replySuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7net/sched: fix idr leak on the error path of tcf_bpf_init()net/sched/act_bpf.c+1 -10 replies
2/7net/sched: fix idr leak in the error path of tcf_simp_init()net/sched/act_simple.c+1 -10 replies
3/7net/sched: fix idr leak in the error path of tcf_act_police_init()net/sched/act_police.c+1 -10 replies
4/7net/sched: fix idr leak in the error path of tcp_pedit_init()net/sched/act_pedit.c+1 -10 replies
5/7net/sched: fix idr leak in the error path of __tcf_ipt_init()net/sched/act_ipt.c+6 -30 replies
6/7net/sched: fix idr leak in the error path of tcf_vlan_init()net/sched/act_vlan.c+1 -10 replies
7/7net/sched: fix idr leak in the error path of tcf_skbmod_init()net/sched/act_skbmod.c+1 -10 replies

Reviews trailers per patch

All 7 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJamal Hadi SalimCong Wang
SeriesA-b
1/7A-b
2/7A-b
3/7A-b
4/7A-b
5/7A-b
6/7A-b
7/7A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH net v2 0/7] fix idr leak in actions

This series fixes situations where a temporary failure to install a TC action results in the permanent impossibility to reuse the configured value of 'index'.

Thanks to Cong Wang for the initial review.

v2: fix build error in act_ipt.c, reported by kbuild test robot

Davide Caratti (7):
net/sched: fix idr leak on the error path of tcf_bpf_init() net/sched: fix idr leak in the error path of tcf_simp_init() net/sched: fix idr leak in the error path of tcf_act_police_init() net/sched: fix idr leak in the error path of tcp_pedit_init() net/sched: fix idr leak in the error path of __tcf_ipt_init() net/sched: fix idr leak in the error path of tcf_vlan_init() net/sched: fix idr leak in the error path of tcf_skbmod_init()

 net/sched/act_bpf.c    | 2 +-
 net/sched/act_ipt.c    | 9 ++++++---
 net/sched/act_pedit.c  | 2 +-
 net/sched/act_police.c | 2 +-
 net/sched/act_simple.c | 2 +-
 net/sched/act_skbmod.c | 2 +-
 net/sched/act_vlan.c   | 2 +-
 7 files changed, 12 insertions(+), 9 deletions(-)
Signature · 1 line
2.14.3