summaryrefslogtreecommitdiff
path: root/net/openvswitch
diff options
context:
space:
mode:
authorIlya Maximets <i.maximets@ovn.org>2026-08-12 14:20:06 +0200
committerJakub Kicinski <kuba@kernel.org>2026-08-13 18:33:35 -0700
commit9702af05a007e9dffbdbf566e8afdd70b89f82da (patch)
treed1523e32a0d4bf455589016b041d04872beec75a /net/openvswitch
parent07a9e3975039c099c71f9bc5ceab39c1cd949234 (diff)
net: openvswitch: unexport ovs_vport_alloc/free
Since removal of the legacy tunnel port types, there are no more users for these functions outside the main openvswitch module. Functions to register vport_ops are also not exported. Allocating vports without operations doesn't make a lot of sense. Highlighted by Sashiko as a follow up to the removal of the module infrastructure. Signed-off-by: Ilya Maximets <i.maximets@ovn.org> Reviewed-by: Aaron Conole <aconole@redhat.com> Link: https://patch.msgid.link/20260812122007.457136-1-i.maximets@ovn.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/openvswitch')
-rw-r--r--net/openvswitch/vport.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/openvswitch/vport.c b/net/openvswitch/vport.c
index 29ebeb164bdc..083f7a8d9d4e 100644
--- a/net/openvswitch/vport.c
+++ b/net/openvswitch/vport.c
@@ -157,7 +157,6 @@ err_kfree_vport:
kfree(vport);
return ERR_PTR(err);
}
-EXPORT_SYMBOL_GPL(ovs_vport_alloc);
/**
* ovs_vport_free - uninitialize and free vport
@@ -178,7 +177,6 @@ void ovs_vport_free(struct vport *vport)
free_percpu(vport->upcall_stats);
kfree(vport);
}
-EXPORT_SYMBOL_GPL(ovs_vport_free);
static struct vport_ops *ovs_vport_lookup(const struct vport_parms *parms)
{