summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortuexen <tuexen@FreeBSD.org>2011-11-24 10:54:30 +0000
committertuexen <tuexen@FreeBSD.org>2011-11-24 10:54:30 +0000
commitd6135e0636fec68836fec19ad53cfb888b9c3b81 (patch)
treedc90c319c0caf10d7f22125ec6a3c8fff4bc8256
parentfc3882da8552a3872d271a47162a2897e8d1e571 (diff)
downloadFreeBSD-src-d6135e0636fec68836fec19ad53cfb888b9c3b81.zip
FreeBSD-src-d6135e0636fec68836fec19ad53cfb888b9c3b81.tar.gz
Move up the address to the top of the sctp_paddrthlds structure
like in all other structures. This avoids alignment problems. MFC after: 3 days.
-rw-r--r--sys/netinet/sctp_uio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/sctp_uio.h b/sys/netinet/sctp_uio.h
index 6f32d24..5935c01 100644
--- a/sys/netinet/sctp_uio.h
+++ b/sys/netinet/sctp_uio.h
@@ -521,8 +521,8 @@ struct sctp_paddrparams {
#define SPP_IPV4_TOS SPP_DSCP
struct sctp_paddrthlds {
- sctp_assoc_t spt_assoc_id;
struct sockaddr_storage spt_address;
+ sctp_assoc_t spt_assoc_id;
uint16_t spt_pathmaxrxt;
uint16_t spt_pathpfthld;
};
OpenPOWER on IntegriCloud