|
@@ -1995,6 +1995,15 @@ void vsock_core_exit(void)
|
|
|
}
|
|
|
EXPORT_SYMBOL_GPL(vsock_core_exit);
|
|
|
|
|
|
+const struct vsock_transport *vsock_core_get_transport(void)
|
|
|
+{
|
|
|
+ /* vsock_register_mutex not taken since only the transport uses this
|
|
|
+ * function and only while registered.
|
|
|
+ */
|
|
|
+ return transport;
|
|
|
+}
|
|
|
+EXPORT_SYMBOL_GPL(vsock_core_get_transport);
|
|
|
+
|
|
|
MODULE_AUTHOR("VMware, Inc.");
|
|
|
MODULE_DESCRIPTION("VMware Virtual Socket Family");
|
|
|
MODULE_VERSION("1.0.1.0-k");
|