diff options
author | Vlad Buslov <vladbu@mellanox.com> | 2019-02-11 09:55:44 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-12 19:41:33 +0100 |
commit | 7d5509fa0d3ddfe252b4418513e493ac98de3317 (patch) | |
tree | d20be370f7b681c84946808aa29e4a4456594227 /include/net/pkt_cls.h | |
parent | net: sched: track rtnl lock status when validating extensions (diff) | |
download | linux-7d5509fa0d3ddfe252b4418513e493ac98de3317.tar.xz linux-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 'include/net/pkt_cls.h')
0 files changed, 0 insertions, 0 deletions