Index: uipc_domain.c =================================================================== RCS file: /usr/store/mlaier/fcvs/src/sys/kern/uipc_domain.c,v retrieving revision 1.42 diff -u -r1.42 uipc_domain.c --- uipc_domain.c 2 Dec 2004 15:47:15 -0000 1.42 +++ uipc_domain.c 7 Dec 2004 13:19:59 -0000 @@ -337,12 +337,12 @@ /* Copy the new struct protosw over the spacer. */ bcopy(npr, fpr, sizeof(*fpr)); - /* Job is done, no more protection required. */ - mtx_unlock(&Giant); - /* Initialize and activate the protocol. */ protosw_init(fpr); + /* Job is done, no more protection required. */ + mtx_unlock(&Giant); + return (0); }