Subject: soclose()
To: None <tech-kern@netbsd.org>
From: Jun-ichiro itojun Hagino <itojun@iijlab.net>
List: tech-kern
Date: 05/22/2002 13:51:18
i found this diff in my local tree in sys_accept(). do you think
it (or something different) necessary?
itojun
Index: uipc_syscalls.c
===================================================================
RCS file: /cvsroot/syssrc/sys/kern/uipc_syscalls.c,v
retrieving revision 1.68
diff -u -r1.68 uipc_syscalls.c
--- uipc_syscalls.c 2002/02/11 18:11:43 1.68
+++ uipc_syscalls.c 2002/05/22 04:50:21
@@ -241,6 +241,7 @@
if (error) {
fdremove(fdp, fd);
ffree(fp);
+ soclose(so);
}
m_freem(nam);
splx(s);