Skip to content

Commit 55e5713

Browse files
joestringerdavem330
authored andcommitted
netfilter: Always export nf_connlabels_replace()
The following patches will reuse this code from OVS. Signed-off-by: Joe Stringer <joestringer@nicira.com> Acked-by: Pravin B Shelar <pshelar@nicira.com> Acked-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 182e304 commit 55e5713

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

net/netfilter/nf_conntrack_labels.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ int nf_connlabel_set(struct nf_conn *ct, u16 bit)
4848
}
4949
EXPORT_SYMBOL_GPL(nf_connlabel_set);
5050

51-
#if IS_ENABLED(CONFIG_NF_CT_NETLINK)
5251
static void replace_u32(u32 *address, u32 mask, u32 new)
5352
{
5453
u32 old, tmp;
@@ -89,7 +88,6 @@ int nf_connlabels_replace(struct nf_conn *ct,
8988
return 0;
9089
}
9190
EXPORT_SYMBOL_GPL(nf_connlabels_replace);
92-
#endif
9391

9492
static struct nf_ct_ext_type labels_extend __read_mostly = {
9593
.len = sizeof(struct nf_conn_labels),

0 commit comments

Comments
 (0)