linux-stable/net/batman-adv
Simon Wunderlich 031ace8d05 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>
2014-01-12 14:41:19 +01:00
..
bat_algo.h batman-adv: remove FSF address from GPL disclaimer 2014-01-08 20:49:39 +01:00
bat_iv_ogm.c batman-adv: add debugfs support to view multiif tables 2014-01-12 14:41:16 +01:00
bitarray.c batman-adv: remove FSF address from GPL disclaimer 2014-01-08 20:49:39 +01:00
bitarray.h batman-adv: remove FSF address from GPL disclaimer 2014-01-08 20:49:39 +01:00
bridge_loop_avoidance.c batman-adv: remove FSF address from GPL disclaimer 2014-01-08 20:49:39 +01:00
bridge_loop_avoidance.h batman-adv: remove FSF address from GPL disclaimer 2014-01-08 20:49:39 +01:00
debugfs.c batman-adv: add debugfs support to view multiif tables 2014-01-12 14:41:16 +01:00
debugfs.h batman-adv: add debugfs structure for information per interface 2014-01-12 14:41:15 +01:00
distributed-arp-table.c batman-adv: split out router from orig_node 2014-01-12 14:41:11 +01:00
distributed-arp-table.h batman-adv: remove FSF address from GPL disclaimer 2014-01-08 20:49:39 +01:00
fragmentation.c batman-adv: remove FSF address from GPL disclaimer 2014-01-08 20:49:39 +01:00
fragmentation.h batman-adv: remove FSF address from GPL disclaimer 2014-01-08 20:49:39 +01:00
gateway_client.c batman-adv: split out router from orig_node 2014-01-12 14:41:11 +01:00
gateway_client.h batman-adv: send every DHCP packet as bat-unicast 2014-01-08 20:49:42 +01:00
gateway_common.c batman-adv: rename gw_deselect() to gw_reselect() 2014-01-08 20:49:41 +01:00
gateway_common.h batman-adv: remove FSF address from GPL disclaimer 2014-01-08 20:49:39 +01:00
hard-interface.c batman-adv: add debugfs structure for information per interface 2014-01-12 14:41:15 +01:00
hard-interface.h batman-adv: add WiFi penalty 2014-01-12 14:41:13 +01:00
hash.c batman-adv: remove FSF address from GPL disclaimer 2014-01-08 20:49:39 +01:00
hash.h batman-adv: remove FSF address from GPL disclaimer 2014-01-08 20:49:39 +01:00
icmp_socket.c batman-adv: split out router from orig_node 2014-01-12 14:41:11 +01:00
icmp_socket.h batman-adv: remove FSF address from GPL disclaimer 2014-01-08 20:49:39 +01:00
Kconfig batman-adv: network coding - add the initial infrastructure code 2013-03-13 22:53:48 +01:00
main.c batman-adv: add build checks for packet sizes 2014-01-12 14:41:19 +01:00
main.h batman-adv: split tq information in neigh_node struct 2014-01-12 14:41:10 +01:00
Makefile batman-adv: remove FSF address from GPL disclaimer 2014-01-08 20:49:39 +01:00
network-coding.c batman-adv: split out router from orig_node 2014-01-12 14:41:11 +01:00
network-coding.h batman-adv: remove returns at the end of void functions 2014-01-12 14:41:18 +01:00
originator.c batman-adv: add debugfs support to view multiif tables 2014-01-12 14:41:16 +01:00
originator.h batman-adv: add debugfs support to view multiif tables 2014-01-12 14:41:16 +01:00
packet.h batman-adv: mark a local client as isolated when needed 2014-01-08 20:49:43 +01:00
routing.c batman-adv: add bonding again 2014-01-12 14:41:15 +01:00
routing.h batman-adv: add bonding again 2014-01-12 14:41:15 +01:00
send.c batman-adv: consider outgoing interface in OGM sending 2014-01-12 14:41:14 +01:00
send.h batman-adv: send every DHCP packet as bat-unicast 2014-01-08 20:49:42 +01:00
soft-interface.c batman-adv: add WiFi penalty 2014-01-12 14:41:13 +01:00
soft-interface.h batman-adv: remove FSF address from GPL disclaimer 2014-01-08 20:49:39 +01:00
sysfs.c batman-adv: add isolation_mark sysfs attribute 2014-01-08 20:49:42 +01:00
sysfs.h batman-adv: remove FSF address from GPL disclaimer 2014-01-08 20:49:39 +01:00
translation-table.c batman-adv: split out router from orig_node 2014-01-12 14:41:11 +01:00
translation-table.h batman-adv: set the isolation mark in the skb if needed 2014-01-08 20:49:46 +01:00
types.h batman-adv: add debugfs support to view multiif tables 2014-01-12 14:41:16 +01:00