Source-Changes-HG archive

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

[src/netbsd-9]: src/sys/net Pull up following revision(s) (requested by ozaki...



details:   https://anonhg.NetBSD.org/src/rev/d58d092a38a6
branches:  netbsd-9
changeset: 458120:d58d092a38a6
user:      martin <martin%NetBSD.org@localhost>
date:      Sun Aug 04 11:40:11 2019 +0000

description:
Pull up following revision(s) (requested by ozaki-r in ticket #7):

        sys/net/raw_usrreq.c: revision 1.63
        sys/net/raw_usrreq.c: revision 1.64

Fix typo (s/m_free/m_freem/)
This fixes PR kern/54419 "mbuf leak when deleting route" from sc dying.

 -

Fix typo (s/m_free/m_freem/) (one more)

diffstat:

 sys/net/raw_usrreq.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (33 lines):

diff -r d67ab64cb273 -r d58d092a38a6 sys/net/raw_usrreq.c
--- a/sys/net/raw_usrreq.c      Sun Aug 04 11:37:56 2019 +0000
+++ b/sys/net/raw_usrreq.c      Sun Aug 04 11:40:11 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: raw_usrreq.c,v 1.62 2018/09/07 06:13:14 maxv Exp $     */
+/*     $NetBSD: raw_usrreq.c,v 1.62.4.1 2019/08/04 11:40:11 martin Exp $       */
 
 /*
  * Copyright (c) 1980, 1986, 1993
@@ -36,7 +36,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: raw_usrreq.c,v 1.62 2018/09/07 06:13:14 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: raw_usrreq.c,v 1.62.4.1 2019/08/04 11:40:11 martin Exp $");
 
 #include <sys/param.h>
 #include <sys/mbuf.h>
@@ -110,12 +110,12 @@
        }
        if (last != NULL) {
                if (sbappendaddr(&last->so_rcv, src, m, NULL) == 0) {
-                       m_free(m);
+                       m_freem(m);
                        soroverflow(last);
                } else
                        sorwakeup(last);
        } else {
-               m_free(m);
+               m_freem(m);
        }
 }
 



Home | Main Index | Thread Index | Old Index