Mark 'struct spx' and 'struct spxhdr' as __packed to prevent possible
alignment problems. MFC after: 3 days
This commit is contained in:
parent
14fad7b9d6
commit
a3acf5d5a0
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=139582
@ -55,7 +55,7 @@ struct spxhdr {
|
||||
u_short spx_seq; /* sequence number */
|
||||
u_short spx_ack; /* acknowledge number */
|
||||
u_short spx_alo; /* allocation number */
|
||||
};
|
||||
} __packed;
|
||||
|
||||
/*
|
||||
* Definitions for NS(tm) Internet Datagram Protocol
|
||||
@ -64,7 +64,7 @@ struct spxhdr {
|
||||
struct spx {
|
||||
struct ipx si_i;
|
||||
struct spxhdr si_s;
|
||||
};
|
||||
} __packed;
|
||||
struct spx_q {
|
||||
struct spx_q *si_next;
|
||||
struct spx_q *si_prev;
|
||||
|
Loading…
Reference in New Issue
Block a user