summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/kern/uipc_syscalls.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/kern/uipc_syscalls.c b/sys/kern/uipc_syscalls.c
index f5dbabb..4147409 100644
--- a/sys/kern/uipc_syscalls.c
+++ b/sys/kern/uipc_syscalls.c
@@ -283,6 +283,9 @@ done:
/*
* accept1()
* MPSAFE
+ *
+ * XXXRW: Use getsock() instead of fgetsock() here to avoid additional mutex
+ * operations due to soref()/sorele().
*/
static int
accept1(td, uap, compat)
OpenPOWER on IntegriCloud