mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
[NETFILTER]: nf_conntrack: EXPORT_SYMBOL cleanup
- move EXPORT_SYMBOL next to exported symbol - use EXPORT_SYMBOL_GPL since this is what the original code used Signed-off-by: Patrick McHardy <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
a3c479772c
commit
13b1833910
10 changed files with 75 additions and 86 deletions
|
|
@ -112,6 +112,8 @@ ipv4_prepare(struct sk_buff **pskb, unsigned int hooknum, unsigned int *dataoff,
|
|||
}
|
||||
|
||||
int nf_nat_module_is_loaded = 0;
|
||||
EXPORT_SYMBOL_GPL(nf_nat_module_is_loaded);
|
||||
|
||||
static u_int32_t ipv4_get_features(const struct nf_conntrack_tuple *tuple)
|
||||
{
|
||||
if (nf_nat_module_is_loaded)
|
||||
|
|
@ -530,8 +532,3 @@ static void __exit nf_conntrack_l3proto_ipv4_fini(void)
|
|||
|
||||
module_init(nf_conntrack_l3proto_ipv4_init);
|
||||
module_exit(nf_conntrack_l3proto_ipv4_fini);
|
||||
|
||||
EXPORT_SYMBOL(nf_ct_ipv4_gather_frags);
|
||||
#ifdef CONFIG_NF_NAT_NEEDED
|
||||
EXPORT_SYMBOL(nf_nat_module_is_loaded);
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -380,5 +380,4 @@ struct nf_conntrack_l4proto nf_conntrack_l4proto_icmp =
|
|||
#endif
|
||||
#endif
|
||||
};
|
||||
|
||||
EXPORT_SYMBOL(nf_conntrack_l4proto_icmp);
|
||||
EXPORT_SYMBOL_GPL(nf_conntrack_l4proto_icmp);
|
||||
|
|
|
|||
Loading…
Reference in a new issue