netfilter: nf_conntrack: restore nf_conntrack_htable_size as exported symbol
Subsystems (2)
Pablo Neira Ayuso
maintainerPATCH 1/1 netfilter: nf_conntrack: restore nf_conntrack_htable_size as exported symbol
This is required to iterate over the hash table in cttimeout, ctnetlink and nf_conntrack_ipv4.
Quoted 1 line
Quoted 1 line
ERROR: "
nf_conntrack_htable_size" [net/netfilter/nfnetlink_cttimeout.ko] undefined!
ERROR: "nf_conntrack_htable_size" [net/netfilter/nf_conntrack_netlink.ko] undefined!
ERROR: "nf_conntrack_htable_size" [net/ipv4/netfilter/nf_conntrack_ipv4.ko] undefined!
Fixes adf0516845bcd0 ("netfilter: remove ip_conntrack* sysctl compat code")
Reported-by kbuild test robot <[email protected]>
Reported-by Stephen Rothwell <[email protected]>
Signed-off-by Pablo Neira Ayuso <[email protected]>
---
Sorry for this, Liping already reported this but I have applied v1 instead of v2.
net/netfilter/nf_conntrack_core.c | 2 ++ 1 file changed, 2 insertions(+)
net/netfilter/nf_conntrack_core.c +2 -0
@@ -160,6 +160,8 @@ static void nf_conntrack_all_unlock(void) }unsigned int nf_conntrack_htable_size__read_mostly ; +EXPORT_SYMBOL_GPL (nf_conntrack_htable_size); +unsigned int nf_conntrack_max__read_mostly ;seqcount_t nf_conntrack_generation__read_mostly ;
Signature · 1 line
2.1.4