summaryrefslogtreecommitdiffstats
path: root/sys/netinet6/udp6_usrreq.c
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2008-11-26 20:52:26 +0000
committerbz <bz@FreeBSD.org>2008-11-26 20:52:26 +0000
commitb089198d311e48209a35dd338ec0ece2b7dfc1c1 (patch)
treea118151fdb94beb969e478947db8088a52d8e2e5 /sys/netinet6/udp6_usrreq.c
parent8bceebfbc257829c779091c6b897b6834b85c57a (diff)
downloadFreeBSD-src-b089198d311e48209a35dd338ec0ece2b7dfc1c1.zip
FreeBSD-src-b089198d311e48209a35dd338ec0ece2b7dfc1c1.tar.gz
Remove in6_pcbdetach() as it is exactly the same function
as in_pcbdetach() and we don't need the code twice. Reviewed by: rwatson MFC after: 6 weeks (*) (*) possibly need to leave a stub wrapper in 7 to keep the symbol.
Diffstat (limited to 'sys/netinet6/udp6_usrreq.c')
-rw-r--r--sys/netinet6/udp6_usrreq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet6/udp6_usrreq.c b/sys/netinet6/udp6_usrreq.c
index 276af83..f51156c 100644
--- a/sys/netinet6/udp6_usrreq.c
+++ b/sys/netinet6/udp6_usrreq.c
@@ -900,7 +900,7 @@ udp6_detach(struct socket *so)
INP_INFO_WLOCK(&V_udbinfo);
INP_WLOCK(inp);
- in6_pcbdetach(inp);
+ in_pcbdetach(inp);
in6_pcbfree(inp);
INP_INFO_WUNLOCK(&V_udbinfo);
}
OpenPOWER on IntegriCloud