Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern Deal with M_COPYALL becoming -ve properly in m_copym0.
details: https://anonhg.NetBSD.org/src/rev/c531a9d5f810
branches: trunk
changeset: 791363:c531a9d5f810
user: skrll <skrll%NetBSD.org@localhost>
date: Thu Nov 14 09:21:30 2013 +0000
description:
Deal with M_COPYALL becoming -ve properly in m_copym0.
I can now mount via nfs again.
diffstat:
sys/kern/uipc_mbuf.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r e845b18f16bb -r c531a9d5f810 sys/kern/uipc_mbuf.c
--- a/sys/kern/uipc_mbuf.c Thu Nov 14 09:11:39 2013 +0000
+++ b/sys/kern/uipc_mbuf.c Thu Nov 14 09:21:30 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uipc_mbuf.c,v 1.154 2013/11/14 00:50:36 christos Exp $ */
+/* $NetBSD: uipc_mbuf.c,v 1.155 2013/11/14 09:21:30 skrll 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.154 2013/11/14 00:50:36 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uipc_mbuf.c,v 1.155 2013/11/14 09:21:30 skrll Exp $");
#include "opt_mbuftrace.h"
#include "opt_nmbclusters.h"
@@ -749,7 +749,7 @@
}
np = ⊤
top = 0;
- while (len > 0) {
+ while (len == M_COPYALL || len > 0) {
if (m == 0) {
if (len != M_COPYALL)
panic("m_copym: m == 0, len %d [!COPYALL]",
Home |
Main Index |
Thread Index |
Old Index