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:
parent
ba2d358791
commit
bc10502dba
30 changed files with 133 additions and 133 deletions
|
@ -58,7 +58,7 @@ struct ipv6_opt_hdr {
|
|||
/*
|
||||
* TLV encoded option data follows.
|
||||
*/
|
||||
} __attribute__ ((packed)); /* required for some archs */
|
||||
} __packed; /* required for some archs */
|
||||
|
||||
#define ipv6_destopt_hdr ipv6_opt_hdr
|
||||
#define ipv6_hopopt_hdr ipv6_opt_hdr
|
||||
|
@ -99,7 +99,7 @@ struct ipv6_destopt_hao {
|
|||
__u8 type;
|
||||
__u8 length;
|
||||
struct in6_addr addr;
|
||||
} __attribute__ ((__packed__));
|
||||
} __packed;
|
||||
|
||||
/*
|
||||
* IPv6 fixed header
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue