From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx3-rdu2.redhat.com ([66.187.233.73]:44462 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754301AbeCSAG2 (ORCPT ); Sun, 18 Mar 2018 20:06:28 -0400 From: Davide Caratti To: Cong Wang , Jiri Pirko , Jamal Hadi Salim , "David S. Miller" Cc: netdev@vger.kernel.org Subject: [PATCH net 0/7] fix idr leak in actions Date: Mon, 19 Mar 2018 01:06:10 +0100 Message-Id: Sender: netdev-owner@vger.kernel.org List-ID: 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