[nfs-utils,v3,05/14] mount: accept AF_VSOCK in nfs_verify_family()
diff mbox

Message ID 20170913102650.10377-6-stefanha@redhat.com
State New
Headers show

Commit Message

Stefan Hajnoczi Sept. 13, 2017, 10:26 a.m. UTC
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
---
 utils/mount/network.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch
diff mbox

diff --git a/utils/mount/network.c b/utils/mount/network.c
index 0fa9029..7b0bc97 100644
--- a/utils/mount/network.c
+++ b/utils/mount/network.c
@@ -1430,7 +1430,7 @@  sa_family_t	config_default_family = AF_INET;
 static int
 nfs_verify_family(sa_family_t family)
 {
-	if (family != AF_INET)
+	if (family != AF_INET && family != AF_VSOCK)
 		return 0;
 
 	return 1;