diff options
author | bz <bz@FreeBSD.org> | 2008-11-27 12:04:35 +0000 |
---|---|---|
committer | bz <bz@FreeBSD.org> | 2008-11-27 12:04:35 +0000 |
commit | 864141180ec3ef4d8192d52ae360994300a14548 (patch) | |
tree | e1f15662baedc4c9181ee6f9e4cd9ced42b3fbba /sys/netinet6/raw_ip6.c | |
parent | b683fcf69217f7195e73b2f05d608c952101f47a (diff) | |
download | FreeBSD-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/raw_ip6.c')
-rw-r--r-- | sys/netinet6/raw_ip6.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet6/raw_ip6.c b/sys/netinet6/raw_ip6.c index bbdb27b..940bd1e 100644 --- a/sys/netinet6/raw_ip6.c +++ b/sys/netinet6/raw_ip6.c @@ -605,7 +605,7 @@ rip6_detach(struct socket *so) INP_WLOCK(inp); free(inp->in6p_icmp6filt, M_PCB); in_pcbdetach(inp); - in6_pcbfree(inp); + in_pcbfree(inp); INP_INFO_WUNLOCK(&V_ripcbinfo); } |