summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2014-03-27 10:30:59 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2014-03-27 10:30:59 +0000
commitf717b944041261c893a2722a34efda2347534d69 (patch)
treedf95ed5d4a865afe43569b662f308507ccc331d3 /share
parent4765a9879f097c62db1f6524a69875dbee6ee423 (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.96
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;