X-Git-Url: https://git.openafs.org/?p=openafs.git;a=blobdiff_plain;f=src%2Frx%2FSOLARIS%2Frx_knet.c;h=d8c192ca4eb014b23fa62f36946db997d5164931;hp=43314c1c00bc29f8d7f6639f525c1f7b9f0e009b;hb=fa82c5e6a9a6eadd97588b6b2e028fe0595bb375;hpb=775933e89544da31c0cf22cd0937614f5616c50e diff --git a/src/rx/SOLARIS/rx_knet.c b/src/rx/SOLARIS/rx_knet.c index 43314c1..d8c192c 100644 --- a/src/rx/SOLARIS/rx_knet.c +++ b/src/rx/SOLARIS/rx_knet.c @@ -341,14 +341,11 @@ osi_FreeSocket(register struct osi_socket *asocket) afs_osi_Sleep(&rxk_ListenerPid); } -#ifdef AFS_SUN510_ENV + /* Was sockfs_sounbind(so, 0); sockfs_sockfree(so); That's wrong */ vp = SOTOV(so); VOP_CLOSE(vp, FREAD|FWRITE, 1, (offset_t)0, CRED()); VN_RELE(vp); -#else - sockfs_sounbind(so, 0); - sockfs_sockfree(so); -#endif + return 0; }