summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorhsu <hsu@FreeBSD.org>2002-06-12 06:01:22 +0000
committerhsu <hsu@FreeBSD.org>2002-06-12 06:01:22 +0000
commit561391ed94bcedfeab5d4cf77078dc6d8f2c9e59 (patch)
tree013576c54cf83903630cece6220af1be1b4f99f2 /sys
parent71fdede1530d24bbb4ce1d87e013d15381f612de (diff)
downloadFreeBSD-src-561391ed94bcedfeab5d4cf77078dc6d8f2c9e59.zip
FreeBSD-src-561391ed94bcedfeab5d4cf77078dc6d8f2c9e59.tar.gz
As a stop-gap measure, add one INP_LOCK_DESTROY() to in6_pcbdetach() to
get kernel compiled with INET6 to boot.
Diffstat (limited to 'sys')
-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 0f18bd1..f1b92a3 100644
--- a/sys/netinet6/in6_pcb.c
+++ b/sys/netinet6/in6_pcb.c
@@ -622,6 +622,7 @@ in6_pcbdetach(inp)
ip_freemoptions(inp->inp_moptions);
inp->inp_vflag = 0;
+ INP_LOCK_DESTROY(inp);
uma_zfree(ipi->ipi_zone, inp);
}
OpenPOWER on IntegriCloud