diff options
author | Vlad Buslov <vladbu@mellanox.com> | 2019-02-11 11:55:44 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-12 21:41:33 +0300 |
commit | 7d5509fa0d3ddfe252b4418513e493ac98de3317 (patch) | |
tree | d20be370f7b681c84946808aa29e4a4456594227 /net/sched/cls_rsvp.h | |
parent | ec6743a10996d38e0438e5f45f2347ff2f42df0a (diff) | |
download | linux-7d5509fa0d3ddfe252b4418513e493ac98de3317.tar.xz |
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 'net/sched/cls_rsvp.h')
0 files changed, 0 insertions, 0 deletions