diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2014-03-27 10:30:59 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2014-03-27 10:30:59 +0000 |
commit | f717b944041261c893a2722a34efda2347534d69 (patch) | |
tree | df95ed5d4a865afe43569b662f308507ccc331d3 /share | |
parent | 4765a9879f097c62db1f6524a69875dbee6ee423 (diff) |
Store an ifp index instead of a pointer in the "struct mbuf_ext".
This is part of the plan to remove the ifp pointer from the packet
header that will allow us to stop garbage collecting mbuf(9)s when
an ifp is detached/destroyed.
ok mikeb@, lteo@, benno@
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man9/mbuf.9 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/share/man/man9/mbuf.9 b/share/man/man9/mbuf.9 index cf3c308ea8e..18d7392bac9 100644 --- a/share/man/man9/mbuf.9 +++ b/share/man/man9/mbuf.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: mbuf.9,v 1.69 2014/03/19 10:09:19 mpi Exp $ +.\" $OpenBSD: mbuf.9,v 1.70 2014/03/27 10:30:58 mpi Exp $ .\" .\" Copyright (c) 2001 Jean-Jacques Bernard-Gundol <jjbg@openbsd.org> .\" All rights reserved. @@ -25,7 +25,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: March 19 2014 $ +.Dd $Mdocdate: March 27 2014 $ .Dt MBUF 9 .Os .Sh NAME @@ -140,7 +140,7 @@ struct mbuf_ext { void *ext_arg; u_int ext_size; int ext_type; - struct ifnet* ext_ifp; + u_short ext_ifidx; int ext_backend; struct mbuf *ext_nextref; struct mbuf *ext_prevref; |