summaryrefslogtreecommitdiffstats
path: root/sys/netinet6
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netinet6')
-rw-r--r--sys/netinet6/in6_pcb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netinet6/in6_pcb.c b/sys/netinet6/in6_pcb.c
index 67f2326..b1a5a71 100644
--- a/sys/netinet6/in6_pcb.c
+++ b/sys/netinet6/in6_pcb.c
@@ -438,6 +438,7 @@ in6_pcbdetach(inp)
in_pcbremlists(inp);
if (so) {
+ SOCK_LOCK(so);
so->so_pcb = NULL;
sotryfree(so);
}
OpenPOWER on IntegriCloud