| 467 | DOMAIN_SET(local); |
| 468 | |
| 469 | static void |
| 470 | uipc_abort(struct socket *so) |
| 471 | { |
| 472 | struct unpcb *unp, *unp2; |
| 473 | |
| 474 | unp = sotounpcb(so); |
| 475 | KASSERT(unp != NULL, ("uipc_abort: unp == NULL")); |
| 476 | UNP_PCB_UNLOCK_ASSERT(unp); |
| 477 | |
| 478 | UNP_PCB_LOCK(unp); |
| 479 | unp2 = unp->unp_conn; |
| 480 | if (unp2 != NULL) { |
| 481 | unp_pcb_hold(unp2); |
| 482 | UNP_PCB_UNLOCK(unp); |
| 483 | unp_drop(unp2); |
| 484 | } else |
| 485 | UNP_PCB_UNLOCK(unp); |
| 486 | } |
| 487 | |
| 488 | static int |
| 489 | uipc_accept(struct socket *so, struct sockaddr **nam) |
nothing calls this directly
no test coverage detected