summaryrefslogtreecommitdiffstats
path: root/sys/netinet6/udp6_usrreq.c
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2008-11-27 12:04:35 +0000
committerbz <bz@FreeBSD.org>2008-11-27 12:04:35 +0000
commit864141180ec3ef4d8192d52ae360994300a14548 (patch)
treee1f15662baedc4c9181ee6f9e4cd9ced42b3fbba /sys/netinet6/udp6_usrreq.c
parentb683fcf69217f7195e73b2f05d608c952101f47a (diff)
downloadFreeBSD-src-864141180ec3ef4d8192d52ae360994300a14548.zip
FreeBSD-src-864141180ec3ef4d8192d52ae360994300a14548.tar.gz
Merge in6_pcbfree() into in_pcbfree() which after the previous
IPsec change in r185366 only differed in two additonal IPv6 lines. Rather than splattering conditional code everywhere add the v6 check centrally at this single place. Reviewed by: rwatson (as part of a larger changset) 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 f51156c..19a5199 100644
--- a/sys/netinet6/udp6_usrreq.c
+++ b/sys/netinet6/udp6_usrreq.c
@@ -901,7 +901,7 @@ udp6_detach(struct socket *so)
INP_INFO_WLOCK(&V_udbinfo);
INP_WLOCK(inp);
in_pcbdetach(inp);
- in6_pcbfree(inp);
+ in_pcbfree(inp);
INP_INFO_WUNLOCK(&V_udbinfo);
}
OpenPOWER on IntegriCloud