diff options
author | Alaa Hleihel <alaa@mellanox.com> | 2020-06-14 13:12:48 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-06-16 03:06:52 +0200 |
commit | 762f926d6f19b9ab4dee0f98d55fc67e276cd094 (patch) | |
tree | e25f6dc4e49ee6d769f8103cbb4f714d7e2ef399 /net/batman-adv/hash.c | |
parent | net: dsa: sja1105: fix PTP timestamping with large tc-taprio cycles (diff) | |
download | linux-762f926d6f19b9ab4dee0f98d55fc67e276cd094.tar.xz linux-762f926d6f19b9ab4dee0f98d55fc67e276cd094.zip |
net/sched: act_ct: Make tcf_ct_flow_table_restore_skb inline
Currently, tcf_ct_flow_table_restore_skb is exported by act_ct
module, therefore modules using it will have hard-dependency
on act_ct and will require loading it all the time.
This can lead to an unnecessary overhead on systems that do not
use hardware connection tracking action (ct_metadata action) in
the first place.
To relax the hard-dependency between the modules, we unexport this
function and make it a static inline one.
Fixes: 30b0cf90c6dd ("net/sched: act_ct: Support restoring conntrack info on skbs")
Signed-off-by: Alaa Hleihel <alaa@mellanox.com>
Reviewed-by: Roi Dayan <roid@mellanox.com>
Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/batman-adv/hash.c')
0 files changed, 0 insertions, 0 deletions