From f717b944041261c893a2722a34efda2347534d69 Mon Sep 17 00:00:00 2001 From: Martin Pieuchot Date: Thu, 27 Mar 2014 10:30:59 +0000 Subject: 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@ --- share/man/man9/mbuf.9 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'share') 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 .\" 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; -- cgit v1.2.3