diff options
-rw-r--r-- | sys/kern/uipc_syscalls.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/kern/uipc_syscalls.c b/sys/kern/uipc_syscalls.c index 0c4efbf..b1ab79c 100644 --- a/sys/kern/uipc_syscalls.c +++ b/sys/kern/uipc_syscalls.c @@ -182,11 +182,6 @@ socket(td, uap) if (error) { fdclose(fdp, fp, fd, td); } else { - /* - * XXXRW: The logic here seems wrong -- shouldn't it be - * locking the file, not the filedesc? Other threads could - * already have a reference to the socket by now. - */ FILE_LOCK(fp); fp->f_data = so; /* already has ref count */ fp->f_flag = FREAD|FWRITE; |