svn commit: r210562 - projects/sv/sys/net
Attilio Rao
attilio at FreeBSD.org
Wed Jul 28 15:22:53 UTC 2010
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 {
More information about the svn-src-projects
mailing list