From 4759ebf0157e2a413136d5d643b38f7f221d87ed Mon Sep 17 00:00:00 2001 From: Robert Watson Date: Mon, 6 Oct 2008 18:38:50 +0000 Subject: [PATCH] Use soconnect2() rather than directly invoking uipc_connect2() to interconnect two UNIX domain sockets. MFC after: 3 days --- sys/fs/portalfs/portal_vnops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/fs/portalfs/portal_vnops.c b/sys/fs/portalfs/portal_vnops.c index 51b279daa1af..dd80d8ae5831 100644 --- a/sys/fs/portalfs/portal_vnops.c +++ b/sys/fs/portalfs/portal_vnops.c @@ -196,7 +196,7 @@ portal_connect(so, so2) M_NOWAIT); so2 = so3; - return (uipc_connect2(so, so2)); + return (soconnect2(so, so2)); } static int