aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched/sch_api.c
diff options
context:
space:
mode:
authorVlad Buslov <vladbu@mellanox.com>2019-02-11 10:55:44 +0200
committerDavid S. Miller <davem@davemloft.net>2019-02-12 13:41:33 -0500
commit7d5509fa0d3ddfe252b4418513e493ac98de3317 (patch)
treed20be370f7b681c84946808aa29e4a4456594227 /net/sched/sch_api.c
parentnet: sched: track rtnl lock status when validating extensions (diff)
downloadlinux-dev-7d5509fa0d3ddfe252b4418513e493ac98de3317.tar.xz
linux-dev-7d5509fa0d3ddfe252b4418513e493ac98de3317.zip
net: sched: extend proto ops with 'put' callback
Add optional tp->ops->put() API to be implemented for filter reference counting. This new function is called by cls API to release filter reference for filters returned by tp->ops->change() or tp->ops->get() functions. Implement tfilter_put() helper to call tp->ops->put() only for classifiers that implement it. Signed-off-by: Vlad Buslov <vladbu@mellanox.com> Acked-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions