net: sched: use flow block API
authorPablo Neira Ayuso <pablo@netfilter.org>
Tue, 9 Jul 2019 20:55:45 +0000 (22:55 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Jul 2019 21:38:50 +0000 (14:38 -0700)
commit59094b1e5094c7e50a3d2912202fd30b6a1dadf8
treefd5cb245326da378d0a351b18e7fece4801561ad
parent67bd0d5ea7974d9dc9c502c7b4096e16a80a553d
net: sched: use flow block API

This patch adds tcf_block_setup() which uses the flow block API.

This infrastructure takes the flow block callbacks coming from the
driver and register/unregister to/from the cls_api core.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/cls_api.c