Source-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/src/rev/6553ceaff3c2
branches:  netbsd-8
changeset: 453745:6553ceaff3c2
user:      martin <martin%NetBSD.org@localhost>
date:      Sun Aug 04 11:01:22 2019 +0000

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

        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 7b20d7e47340 -r 6553ceaff3c2 sys/net/raw_usrreq.c
--- a/sys/net/raw_usrreq.c      Sun Aug 04 10:59:19 2019 +0000
+++ b/sys/net/raw_usrreq.c      Sun Aug 04 11:01:22 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: raw_usrreq.c,v 1.56.4.2 2018/04/09 13:34:10 bouyer Exp $       */
+/*     $NetBSD: raw_usrreq.c,v 1.56.4.3 2019/08/04 11:01:22 martin Exp $       */
 
 /*
  * Copyright (c) 1980, 1986, 1993
@@ -36,7 +36,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: raw_usrreq.c,v 1.56.4.2 2018/04/09 13:34:10 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: raw_usrreq.c,v 1.56.4.3 2019/08/04 11:01:22 martin Exp $");
 
 #include <sys/param.h>
 #include <sys/mbuf.h>
@@ -120,12 +120,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