--- kernel/sys.c.broken 2003-03-11 22:09:38.000000000 +0000 +++ kernel/sys.c 2003-03-11 17:10:39.000000000 +0000 @@ -1095,26 +1095,26 @@ */ void sys_release_ip_info (struct iproot_info *ip_info) { - if (ip_info != NULL){ down_write (&uts_sem); + if (ip_info != NULL){ ip_info->refcount--; if (ip_info->refcount == 0){ // printk ("vfree s_info %d\n",p->pid); vfree (ip_info); } - up_write (&uts_sem); } + up_write (&uts_sem); } /* Increase the reference count on the ip_info member of a task */ void sys_assign_ip_info (struct iproot_info *ip_info) { - if (ip_info != NULL){ down_write (&uts_sem); + if (ip_info != NULL){ ip_info->refcount++; - up_write (&uts_sem); } + up_write (&uts_sem); } /*