From owner-cvs-src@FreeBSD.ORG Thu Jul 14 20:08:27 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 98C5C16A41C; Thu, 14 Jul 2005 20:08:27 +0000 (GMT) (envelope-from ps@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 599F043D49; Thu, 14 Jul 2005 20:08:27 +0000 (GMT) (envelope-from ps@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j6EK8RBa012169; Thu, 14 Jul 2005 20:08:27 GMT (envelope-from ps@repoman.freebsd.org) Received: (from ps@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j6EK8RND012168; Thu, 14 Jul 2005 20:08:27 GMT (envelope-from ps) Message-Id: <200507142008.j6EK8RND012168@repoman.freebsd.org> From: Paul Saab Date: Thu, 14 Jul 2005 20:08:27 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/nfs nfs_common.c nfs_common.h src/sys/nfsclient nfs_socket.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jul 2005 20:08:27 -0000 ps 2005-07-14 20:08:27 UTC FreeBSD src repository Modified files: sys/nfs nfs_common.c nfs_common.h sys/nfsclient nfs_socket.c Log: Fixes for NFS crashes on architectures that require strict alignment. - Fix nfsm_disct() so that after pulling up data, the remaining data is aligned if necessary. - Fix nfs_clnt_tcp_soupcall() to bcopy() the rpc length out of the mbuf (instead of casting m_data to a uint32). Submitted by: Pyun YongHyeon Reviewed by: Mohan Srinivasan Revision Changes Path 1.118 +12 -3 src/sys/nfs/nfs_common.c 1.38 +6 -0 src/sys/nfs/nfs_common.h 1.126 +2 -1 src/sys/nfsclient/nfs_socket.c