Home
last modified time | relevance | path

Searched hist:"67 bd0d5ea7974d9dc9c502c7b4096e16a80a553d" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/net/core/
H A Dflow_offload.cdiff 67bd0d5ea7974d9dc9c502c7b4096e16a80a553d Tue Jul 09 15:55:44 CDT 2019 Pablo Neira Ayuso <pablo@netfilter.org> net: flow_offload: add flow_block_cb_{priv, incref, decref}()

This patch completes the flow block API to introduce:

* flow_block_cb_priv() to access callback private data.
* flow_block_cb_incref() to bump reference counter on this flow block.
* flow_block_cb_decref() to decrement the reference counter.

These functions are taken from the existing tcf_block_cb_priv(),
tcf_block_cb_incref() and tcf_block_cb_decref().

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
/openbmc/linux/include/net/
H A Dflow_offload.hdiff 67bd0d5ea7974d9dc9c502c7b4096e16a80a553d Tue Jul 09 15:55:44 CDT 2019 Pablo Neira Ayuso <pablo@netfilter.org> net: flow_offload: add flow_block_cb_{priv, incref, decref}()

This patch completes the flow block API to introduce:

* flow_block_cb_priv() to access callback private data.
* flow_block_cb_incref() to bump reference counter on this flow block.
* flow_block_cb_decref() to decrement the reference counter.

These functions are taken from the existing tcf_block_cb_priv(),
tcf_block_cb_incref() and tcf_block_cb_decref().

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