summaryrefslogtreecommitdiff
path: root/net/batman-adv/network-coding.c
diff options
context:
space:
mode:
authorSimon Wunderlich <sw@simonwunderlich.de>2013-12-02 20:38:30 +0100
committerAntonio Quartulli <antonio@meshcoding.com>2013-12-28 12:51:15 +0100
commit46b76e0b8b5e21fa5a2387d6f72b193514e7f722 (patch)
treea76d23a01a35243e8700168e7fdc8d12671ab476 /net/batman-adv/network-coding.c
parent6a9eadccff2926e392173a989042f14c867cffbf (diff)
downloadlinux-next-46b76e0b8b5e21fa5a2387d6f72b193514e7f722.tar.gz
batman-adv: fix alignment for batadv_coded_packet
The compiler may decide to pad the structure, and then it does not have the expected size of 46 byte. Fix this by moving it in the pragma pack(2) part of the code. Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de> Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch> Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>
Diffstat (limited to 'net/batman-adv/network-coding.c')
0 files changed, 0 insertions, 0 deletions