Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/net Fix typo (s/m_free/m_freem/)
details: https://anonhg.NetBSD.org/src/rev/e270d35cbb38
branches: trunk
changeset: 964444:e270d35cbb38
user: ozaki-r <ozaki-r%NetBSD.org@localhost>
date: Fri Aug 02 01:55:01 2019 +0000
description:
Fix typo (s/m_free/m_freem/)
This fixes PR kern/54419 "mbuf leak when deleting route" from sc dying.
diffstat:
sys/net/raw_usrreq.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 0dddd168558b -r e270d35cbb38 sys/net/raw_usrreq.c
--- a/sys/net/raw_usrreq.c Thu Aug 01 22:23:16 2019 +0000
+++ b/sys/net/raw_usrreq.c Fri Aug 02 01:55:01 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.63 2019/08/02 01:55:01 ozaki-r 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.63 2019/08/02 01:55:01 ozaki-r Exp $");
#include <sys/param.h>
#include <sys/mbuf.h>
@@ -110,7 +110,7 @@
}
if (last != NULL) {
if (sbappendaddr(&last->so_rcv, src, m, NULL) == 0) {
- m_free(m);
+ m_freem(m);
soroverflow(last);
} else
sorwakeup(last);
Home |
Main Index |
Thread Index |
Old Index