Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/nfs Correctly write back the updated value of the local ...
details: https://anonhg.NetBSD.org/src/rev/7148c6d293a1
branches: trunk
changeset: 520959:7148c6d293a1
user: minoura <minoura%NetBSD.org@localhost>
date: Mon Jan 21 13:21:51 2002 +0000
description:
Correctly write back the updated value of the local variable to the
struct nfssvc_sock.
Affected only when a recordmark of RPC over TCP is fragmented to
multiple mbufs. I do not know whether this code has ever been executed :)
diffstat:
sys/nfs/nfs_socket.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r bf9c6ed5f256 -r 7148c6d293a1 sys/nfs/nfs_socket.c
--- a/sys/nfs/nfs_socket.c Mon Jan 21 12:59:50 2002 +0000
+++ b/sys/nfs/nfs_socket.c Mon Jan 21 13:21:51 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: nfs_socket.c,v 1.69 2001/11/10 10:59:10 lukem Exp $ */
+/* $NetBSD: nfs_socket.c,v 1.70 2002/01/21 13:21:51 minoura Exp $ */
/*
* Copyright (c) 1989, 1991, 1993, 1995
@@ -43,7 +43,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nfs_socket.c,v 1.69 2001/11/10 10:59:10 lukem Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nfs_socket.c,v 1.70 2002/01/21 13:21:51 minoura Exp $");
#include "fs_nfs.h"
#include "opt_nfs.h"
@@ -2060,6 +2060,7 @@
m->m_data++;
m->m_len--;
}
+ slp->ns_raw = m;
}
slp->ns_cc -= NFSX_UNSIGNED;
recmark = ntohl(recmark);
Home |
Main Index |
Thread Index |
Old Index