summaryrefslogtreecommitdiff
path: root/drivers/regulator/da9211-regulator.c
diff options
context:
space:
mode:
authorPaul Blakey <paulb@mellanox.com>2020-03-18 12:50:33 +0200
committerDavid S. Miller <davem@davemloft.net>2020-03-18 16:37:06 -0700
commitdd2af10402684cb5840a127caec9e7cdcff6d167 (patch)
tree8d85f700e3cd5db399caab601042acc97879f1e2 /drivers/regulator/da9211-regulator.c
parent2de9780f75076c1a1f122cbd39df0fa545284724 (diff)
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>
Diffstat (limited to 'drivers/regulator/da9211-regulator.c')
0 files changed, 0 insertions, 0 deletions