Searched hist:dd2af10402684cb5840a127caec9e7cdcff6d167 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/net/sched/ |
H A D | act_ct.c | diff dd2af10402684cb5840a127caec9e7cdcff6d167 Wed Mar 18 05:50:33 CDT 2020 Paul Blakey <paulb@mellanox.com> net/sched: act_ct: Fix leak of ct zone template on replace
Currently, on replace, the previous action instance params is swapped with a newly allocated params. The old params is only freed (via kfree_rcu), without releasing the allocated ct zone template related to it.
Call tcf_ct_params_free (via call_rcu) for the old params, so it will release it.
Fixes: b57dc7c13ea9 ("net/sched: Introduce action ct") Signed-off-by: Paul Blakey <paulb@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|