diff options
author | Robert Watson <rwatson@FreeBSD.org> | 2005-02-20 04:18:22 +0000 |
---|---|---|
committer | Robert Watson <rwatson@FreeBSD.org> | 2005-02-20 04:18:22 +0000 |
commit | 7301cf23effeb6f0a9862e71e6de4d6c95fdbdc3 (patch) | |
tree | 89168309167f1e9f0af87374d1ec87f74bb47244 | |
parent | 6ff81db1a7bfd770db653c0d6721bee58decba10 (diff) |
Notes
-rw-r--r-- | sys/kern/uipc_usrreq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/uipc_usrreq.c b/sys/kern/uipc_usrreq.c index 1007fe69dcf6..1963ac4c98f0 100644 --- a/sys/kern/uipc_usrreq.c +++ b/sys/kern/uipc_usrreq.c @@ -706,13 +706,13 @@ unp_attach(so) bzero(unp, sizeof *unp); LIST_INIT(&unp->unp_refs); unp->unp_socket = so; + so->so_pcb = unp; UNP_LOCK(); unp->unp_gencnt = ++unp_gencnt; unp_count++; LIST_INSERT_HEAD(so->so_type == SOCK_DGRAM ? &unp_dhead : &unp_shead, unp, unp_link); - so->so_pcb = unp; UNP_UNLOCK(); return (0); |