summaryrefslogtreecommitdiffstats
path: root/net/batman-adv/fragmentation.c
diff options
context:
space:
mode:
authorSimon Wunderlich <sw@simonwunderlich.de>2013-12-17 19:12:12 +0100
committerAntonio Quartulli <antonio@meshcoding.com>2014-01-12 14:41:19 +0100
commit031ace8d052c943da7d32fbeb12de3c7ac2a5953 (patch)
tree8b0d2726387140170dcac73d6b0ff11567f3502d /net/batman-adv/fragmentation.c
parentc28c0b6b14e09e2c2a9ef328bc44ddb75020d9d1 (diff)
downloadlinux-031ace8d052c943da7d32fbeb12de3c7ac2a5953.tar.gz
linux-031ace8d052c943da7d32fbeb12de3c7ac2a5953.tar.bz2
linux-031ace8d052c943da7d32fbeb12de3c7ac2a5953.zip
batman-adv: add build checks for packet sizes
With unrolling the batadv_header into the respective structures, the offsetof checks are now useless. Instead, add build checks for all packet types which go over the wire to avoid problems with wrong sizes or compatibility issues on some architectures which don't use every day. 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/fragmentation.c')
0 files changed, 0 insertions, 0 deletions