diff options
author | Patrick McHardy <kaber@trash.net> | 2005-06-28 12:56:45 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-06-28 12:56:45 -0700 |
commit | 8a47077a0b5aa2649751c46e7a27884e6686ccbf (patch) | |
tree | 60e7c40a375057a31b5340226cd446ffa199413c /include/linux/rtnetlink.h | |
parent | 9ef1d4c7c7aca1cd436612b6ca785b726ffb8ed8 (diff) | |
download | op-kernel-dev-8a47077a0b5aa2649751c46e7a27884e6686ccbf.zip op-kernel-dev-8a47077a0b5aa2649751c46e7a27884e6686ccbf.tar.gz |
[NETLINK]: Missing padding fields in dumped structures
Plug holes with padding fields and initialized them to zero.
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/rtnetlink.h')
-rw-r--r-- | include/linux/rtnetlink.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/rtnetlink.h b/include/linux/rtnetlink.h index dc26e82..657c05a 100644 --- a/include/linux/rtnetlink.h +++ b/include/linux/rtnetlink.h @@ -363,6 +363,8 @@ enum struct rta_session { __u8 proto; + __u8 pad1; + __u16 pad2; union { struct { @@ -635,10 +637,13 @@ struct ifinfomsg struct prefixmsg { unsigned char prefix_family; + unsigned char prefix_pad1; + unsigned short prefix_pad2; int prefix_ifindex; unsigned char prefix_type; unsigned char prefix_len; unsigned char prefix_flags; + unsigned char prefix_pad3; }; enum |