Commit 55e5713f authored by Joe Stringer's avatar Joe Stringer Committed by David S. Miller

netfilter: Always export nf_connlabels_replace()

The following patches will reuse this code from OVS.
Signed-off-by: default avatarJoe Stringer <joestringer@nicira.com>
Acked-by: default avatarPravin B Shelar <pshelar@nicira.com>
Acked-by: default avatarThomas Graf <tgraf@suug.ch>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 182e3042
...@@ -48,7 +48,6 @@ int nf_connlabel_set(struct nf_conn *ct, u16 bit) ...@@ -48,7 +48,6 @@ int nf_connlabel_set(struct nf_conn *ct, u16 bit)
} }
EXPORT_SYMBOL_GPL(nf_connlabel_set); EXPORT_SYMBOL_GPL(nf_connlabel_set);
#if IS_ENABLED(CONFIG_NF_CT_NETLINK)
static void replace_u32(u32 *address, u32 mask, u32 new) static void replace_u32(u32 *address, u32 mask, u32 new)
{ {
u32 old, tmp; u32 old, tmp;
...@@ -89,7 +88,6 @@ int nf_connlabels_replace(struct nf_conn *ct, ...@@ -89,7 +88,6 @@ int nf_connlabels_replace(struct nf_conn *ct,
return 0; return 0;
} }
EXPORT_SYMBOL_GPL(nf_connlabels_replace); EXPORT_SYMBOL_GPL(nf_connlabels_replace);
#endif
static struct nf_ct_ext_type labels_extend __read_mostly = { static struct nf_ct_ext_type labels_extend __read_mostly = {
.len = sizeof(struct nf_conn_labels), .len = sizeof(struct nf_conn_labels),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment