diff options
| author | Gleb Smirnoff <glebius@FreeBSD.org> | 2026-04-12 18:31:09 +0000 |
|---|---|---|
| committer | Gleb Smirnoff <glebius@FreeBSD.org> | 2026-04-12 18:31:09 +0000 |
| commit | ac5b9628002c7c97929984eb578918077d564be4 (patch) | |
| tree | 4853272afe58ccdd12dfc801559ad90970670e74 /sys/netinet6 | |
| parent | 2cfe62664ab74756e40e17f7b8692d7a07531b83 (diff) | |
Diffstat (limited to 'sys/netinet6')
| -rw-r--r-- | sys/netinet6/in6_pcb.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/netinet6/in6_pcb.c b/sys/netinet6/in6_pcb.c index 2d6e860a72ba..8a644f96f72e 100644 --- a/sys/netinet6/in6_pcb.c +++ b/sys/netinet6/in6_pcb.c @@ -508,7 +508,9 @@ in6_pcbdisconnect(struct inpcb *inp) KASSERT(inp->inp_smr == SMR_SEQ_INVALID, ("%s: inp %p was already disconnected", __func__, inp)); - in_pcbremhash_locked(inp); + in_pcbremhash(inp); + CK_LIST_INSERT_HEAD(&inp->inp_pcbinfo->ipi_list_unconn, inp, + inp_unconn_list); if ((inp->inp_socket->so_proto->pr_flags & PR_CONNREQUIRED) == 0) { /* See the comment in in_pcbinshash(). */ |
