summaryrefslogtreecommitdiffstats
path: root/sys/netinet6/raw_ip6.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/raw_ip6.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/raw_ip6.c')
-rw-r--r--sys/netinet6/raw_ip6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet6/raw_ip6.c b/sys/netinet6/raw_ip6.c
index ece033e..9191f4a 100644
--- a/sys/netinet6/raw_ip6.c
+++ b/sys/netinet6/raw_ip6.c
@@ -604,7 +604,7 @@ rip6_detach(struct socket *so)
INP_INFO_WLOCK(&V_ripcbinfo);
INP_WLOCK(inp);
free(inp->in6p_icmp6filt, M_PCB);
- in6_pcbdetach(inp);
+ in_pcbdetach(inp);
in6_pcbfree(inp);
INP_INFO_WUNLOCK(&V_ripcbinfo);
}
OpenPOWER on IntegriCloud