net: use __packed annotation
cleanup patch. Use new __packed annotation in net/ and include/ (except netfilter) Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
ba2d358791
commit
bc10502dba
@@ -443,7 +443,7 @@ struct sctp_signed_cookie {
|
||||
__u8 signature[SCTP_SECRET_SIZE];
|
||||
__u32 __pad; /* force sctp_cookie alignment to 64 bits */
|
||||
struct sctp_cookie c;
|
||||
} __attribute__((packed));
|
||||
} __packed;
|
||||
|
||||
/* This is another convenience type to allocate memory for address
|
||||
* params for the maximum size and pass such structures around
|
||||
@@ -488,7 +488,7 @@ typedef struct sctp_sender_hb_info {
|
||||
union sctp_addr daddr;
|
||||
unsigned long sent_at;
|
||||
__u64 hb_nonce;
|
||||
} __attribute__((packed)) sctp_sender_hb_info_t;
|
||||
} __packed sctp_sender_hb_info_t;
|
||||
|
||||
/*
|
||||
* RFC 2960 1.3.2 Sequenced Delivery within Streams
|
||||
|
Reference in New Issue
Block a user