netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Davide Caratti <dcaratti@redhat.com>
To: Cong Wang <xiyou.wangcong@gmail.com>,
	Jiri Pirko <jiri@resnulli.us>,
	Jamal Hadi Salim <jhs@mojatatu.com>,
	"David S. Miller" <davem@davemloft.net>
Cc: netdev@vger.kernel.org
Subject: [PATCH net 0/7] fix idr leak in actions
Date: Mon, 19 Mar 2018 01:06:10 +0100	[thread overview]
Message-ID: <cover.1521417146.git.dcaratti@redhat.com> (raw)

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

Thanks to Cong Wang for the initial review.

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(-)

-- 
2.14.3

             reply	other threads:[~2018-03-19  0:06 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-19  0:06 Davide Caratti [this message]
2018-03-19  0:06 ` [PATCH net 1/7] net/sched: fix idr leak on the error path of tcf_bpf_init() Davide Caratti
2018-03-19  0:06 ` [PATCH net 2/7] net/sched: fix idr leak in the error path of tcf_simp_init() Davide Caratti
2018-03-19  0:06 ` [PATCH net 3/7] net/sched: fix idr leak in the error path of tcf_act_police_init() Davide Caratti
2018-03-19  0:06 ` [PATCH net 4/7] net/sched: fix idr leak in the error path of tcp_pedit_init() Davide Caratti
2018-03-19  0:06 ` [PATCH net 5/7] net/sched: fix idr leak in the error path of __tcf_ipt_init() Davide Caratti
2018-03-19  4:33   ` kbuild test robot
2018-03-19  0:06 ` [PATCH net 6/7] net/sched: fix idr leak in the error path of tcf_vlan_init() Davide Caratti
2018-03-19  0:06 ` [PATCH net 7/7] net/sched: fix idr leak in the error path of tcf_skbmod_init() Davide Caratti
2018-03-19 11:32 ` [PATCH net 0/7] fix idr leak in actions Jamal Hadi Salim

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1521417146.git.dcaratti@redhat.com \
    --to=dcaratti@redhat.com \
    --cc=davem@davemloft.net \
    --cc=jhs@mojatatu.com \
    --cc=jiri@resnulli.us \
    --cc=netdev@vger.kernel.org \
    --cc=xiyou.wangcong@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).