mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 07:04:28 +00:00
net: ipv6: network protocol structures should be packed
The structure icmp6_ra_prefix_info needs to be packed because it is read from a network stream. Signed-off-by: Ehsan Mohandesi <emohandesi@linux.microsoft.com> Reviewed-by: Viacheslav Mitrofanov <v.v.mitrofanov@yadro.com> Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
This commit is contained in:
parent
a29df56eab
commit
1196e5241d
1 changed files with 1 additions and 1 deletions
|
@ -204,7 +204,7 @@ struct icmp6_ra_prefix_info {
|
|||
* be initialized to zero by the sender and ignored by the receiver.
|
||||
*/
|
||||
struct in6_addr prefix;
|
||||
};
|
||||
} __packed;
|
||||
|
||||
extern struct in6_addr const net_null_addr_ip6; /* NULL IPv6 address */
|
||||
extern struct in6_addr net_gateway6; /* Our gateways IPv6 address */
|
||||
|
|
Loading…
Reference in a new issue