Source-Changes-HG archive

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

[src/netbsd-8]: src/sys/arch/x86/pci Pull up following revision(s) (requested...



details:   https://anonhg.NetBSD.org/src/rev/333b76204909
branches:  netbsd-8
changeset: 851408:333b76204909
user:      snj <snj%NetBSD.org@localhost>
date:      Mon Feb 26 01:01:41 2018 +0000

description:
Pull up following revision(s) (requested by msaitoh in ticket #577):
        sys/arch/x86/pci/if_vmx.c: 1.21
m_free -> m_freem, otherwise leak

diffstat:

 sys/arch/x86/pci/if_vmx.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 59a286939eb5 -r 333b76204909 sys/arch/x86/pci/if_vmx.c
--- a/sys/arch/x86/pci/if_vmx.c Mon Feb 26 00:56:29 2018 +0000
+++ b/sys/arch/x86/pci/if_vmx.c Mon Feb 26 01:01:41 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_vmx.c,v 1.19.6.1 2017/10/24 08:38:59 snj Exp $      */
+/*     $NetBSD: if_vmx.c,v 1.19.6.2 2018/02/26 01:01:41 snj Exp $      */
 /*     $OpenBSD: if_vmx.c,v 1.16 2014/01/22 06:04:17 brad Exp $        */
 
 /*
@@ -19,7 +19,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_vmx.c,v 1.19.6.1 2017/10/24 08:38:59 snj Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_vmx.c,v 1.19.6.2 2018/02/26 01:01:41 snj Exp $");
 
 #include <sys/param.h>
 #include <sys/cpu.h>
@@ -2527,7 +2527,7 @@
                offset = ETHER_HDR_LEN + ETHER_VLAN_ENCAP_LEN;
                break;
        default:
-               m_free(m);
+               m_freem(m);
                return (EINVAL);
        }
 



Home | Main Index | Thread Index | Old Index