|
@@ -47,7 +47,7 @@ __nf_nat_proto_find(u_int8_t protonum)
|
|
|
return rcu_dereference(nf_nat_protos[protonum]);
|
|
|
}
|
|
|
|
|
|
-const struct nf_nat_protocol *
|
|
|
+static const struct nf_nat_protocol *
|
|
|
nf_nat_proto_find_get(u_int8_t protonum)
|
|
|
{
|
|
|
const struct nf_nat_protocol *p;
|
|
@@ -60,14 +60,12 @@ nf_nat_proto_find_get(u_int8_t protonum)
|
|
|
|
|
|
return p;
|
|
|
}
|
|
|
-EXPORT_SYMBOL_GPL(nf_nat_proto_find_get);
|
|
|
|
|
|
-void
|
|
|
+static void
|
|
|
nf_nat_proto_put(const struct nf_nat_protocol *p)
|
|
|
{
|
|
|
module_put(p->me);
|
|
|
}
|
|
|
-EXPORT_SYMBOL_GPL(nf_nat_proto_put);
|
|
|
|
|
|
/* We keep an extra hash for each conntrack, for fast searching. */
|
|
|
static inline unsigned int
|