Searched hist:32039 (Results 1 - 1 of 1) sorted by relevance
/linux-master/net/sched/ | ||
H A D | act_ife.c | diff 32039eac Tue Aug 14 11:29:56 MDT 2018 Vlad Buslov <vladbu@mellanox.com> net: sched: act_ife: always release ife action on init error Action init API was changed to always take reference to action, even when overwriting existing action. Substitute conditional action release, which was executed only if action is newly created, with unconditional release in tcf_ife_init() error handling code to prevent double free or memory leak in case of overwrite. Fixes: 4e8ddd7f1758 ("net: sched: don't release reference on action overwrite") Reported-by: Cong Wang <xiyou.wangcong@gmail.com> Signed-off-by: Vlad Buslov <vladbu@mellanox.com> Acked-by: Cong Wang <xiyou.wangcong@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net> |
Completed in 103 milliseconds