Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/kern Remove reference to m_ext.ext_type (do...



details:   https://anonhg.NetBSD.org/src/rev/90b016f354ec
branches:  trunk
changeset: 318515:90b016f354ec
user:      maxv <maxv%NetBSD.org@localhost>
date:      Fri Apr 27 18:40:40 2018 +0000
description:
Remove reference to m_ext.ext_type (doesn't exist).

diffstat:

 sys/kern/uipc_mbuf.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 6b10bb680477 -r 90b016f354ec sys/kern/uipc_mbuf.c
--- a/sys/kern/uipc_mbuf.c      Fri Apr 27 18:33:24 2018 +0000
+++ b/sys/kern/uipc_mbuf.c      Fri Apr 27 18:40:40 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uipc_mbuf.c,v 1.208 2018/04/27 16:32:03 maxv Exp $     */
+/*     $NetBSD: uipc_mbuf.c,v 1.209 2018/04/27 18:40:40 maxv Exp $     */
 
 /*
  * Copyright (c) 1999, 2001 The NetBSD Foundation, Inc.
@@ -62,7 +62,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uipc_mbuf.c,v 1.208 2018/04/27 16:32:03 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uipc_mbuf.c,v 1.209 2018/04/27 18:40:40 maxv Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_mbuftrace.h"
@@ -1942,7 +1942,7 @@
                         */
                        dofree = false;
                } else {
-                       free(m->m_ext.ext_buf, m->m_ext.ext_type);
+                       free(m->m_ext.ext_buf, 0);
                }
        }
 



Home | Main Index | Thread Index | Old Index