Re: [PATCH net-next] net: sched: act_ife: fix memory leak in ife init

2018-07-11 Thread David Miller
From: Vlad Buslov Date: Mon, 9 Jul 2018 14:33:26 +0300 > Free params if tcf_idr_check_alloc() returned error. > > Fixes: 0190c1d452a9 ("net: sched: atomically check-allocate action") > Reported-by: Dan Carpenter > Signed-off-by: Vlad Buslov Applied.

[PATCH net-next] net: sched: act_ife: fix memory leak in ife init

2018-07-09 Thread Vlad Buslov
Free params if tcf_idr_check_alloc() returned error. Fixes: 0190c1d452a9 ("net: sched: atomically check-allocate action") Reported-by: Dan Carpenter Signed-off-by: Vlad Buslov --- net/sched/act_ife.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/net/sched/act_ife.c