diff options
author | dillon <dillon@FreeBSD.org> | 2001-11-17 03:07:11 +0000 |
---|---|---|
committer | dillon <dillon@FreeBSD.org> | 2001-11-17 03:07:11 +0000 |
commit | 86ed17d675cb503ddb3f71f8b6f7c3af530bb29a (patch) | |
tree | d5160b5791cda1a8cfbbcd3f5e1bd7ea97561c8f /sys/netinet6 | |
parent | fe91520d395f7879be049a289cbac3389fed1749 (diff) | |
download | FreeBSD-src-86ed17d675cb503ddb3f71f8b6f7c3af530bb29a.zip FreeBSD-src-86ed17d675cb503ddb3f71f8b6f7c3af530bb29a.tar.gz |
Give struct socket structures a ref counting interface similar to
vnodes. This will hopefully serve as a base from which we can
expand the MP code. We currently do not attempt to obtain any
mutex or SX locks, but the door is open to add them when we nail
down exactly how that part of it is going to work.
Diffstat (limited to 'sys/netinet6')
-rw-r--r-- | sys/netinet6/in6_pcb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet6/in6_pcb.c b/sys/netinet6/in6_pcb.c index a82ab84..6612848 100644 --- a/sys/netinet6/in6_pcb.c +++ b/sys/netinet6/in6_pcb.c @@ -606,7 +606,7 @@ in6_pcbdetach(inp) inp->inp_gencnt = ++ipi->ipi_gencnt; in_pcbremlists(inp); sotoinpcb(so) = 0; - sofree(so); + sotryfree(so); if (inp->in6p_options) m_freem(inp->in6p_options); |