]> git.baikalelectronics.ru Git - kernel.git/commit
batman-adv: add build check macros for packet member offset
authorSimon Wunderlich <simon.wunderlich@s2003.tu-chemnitz.de>
Thu, 25 Apr 2013 08:37:22 +0000 (10:37 +0200)
committerAntonio Quartulli <antonio@meshcoding.com>
Wed, 9 Oct 2013 19:22:33 +0000 (21:22 +0200)
commit5e2f61392dc35dcc48139e9a23bfd8ffa093f22e
treec2d81ee3d135fe6335d7ff765e85a4bb31128bcc
parent97e4fa70f8066a2068cd47f24d5ecf791b72b36b
batman-adv: add build check macros for packet member offset

Since we removed the __packed from most of the packets, we should
make sure that the offset generated by the compiler are correct for
sent/received data.

Signed-off-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>
net/batman-adv/main.c