Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jul 2010 15:22:52 +0000 (UTC)
From:      Attilio Rao <attilio@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r210562 - projects/sv/sys/net
Message-ID:  <201007281522.o6SFMqlP054848@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: attilio
Date: Wed Jul 28 15:22:52 2010
New Revision: 210562
URL: http://svn.freebsd.org/changeset/base/210562

Log:
  Fix a bug where netdump msg may have a different memory layour between
  32 and 64 bits machines.
  
  Diagnosed by:	emaste

Modified:
  projects/sv/sys/net/netdump_client.c

Modified: projects/sv/sys/net/netdump_client.c
==============================================================================
--- projects/sv/sys/net/netdump_client.c	Wed Jul 28 15:10:31 2010	(r210561)
+++ projects/sv/sys/net/netdump_client.c	Wed Jul 28 15:22:52 2010	(r210562)
@@ -105,6 +105,7 @@ struct netdump_msg_hdr {
 	u_int32_t seqno;	/* match acks with msgs */
 	u_int64_t offset;	/* vmcore offset, in bytes */
 	u_int32_t len;		/* attached data, in bytes */
+	u_int8_t pad[4];	/* Pad for parifying 32 and 64 bits */
 };
 
 struct netdump_msg {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201007281522.o6SFMqlP054848>