-
- Downloads
batman-adv: fix header alignment by unrolling batadv_header
The size of the batadv_header of 3 is problematic on some architectures which automatically pad all structures to a 32 bit boundary. To not lose performance by packing this struct, better embed it into the various host structures. Reported-by:Russell King <linux@arm.linux.org.uk> Signed-off-by:
Simon Wunderlich <sw@simonwunderlich.de> Signed-off-by:
Marek Lindner <mareklindner@neomailbox.ch> Signed-off-by:
Antonio Quartulli <antonio@meshcoding.com>
Showing
- net/batman-adv/bat_iv_ogm.c 18 additions, 18 deletionsnet/batman-adv/bat_iv_ogm.c
- net/batman-adv/distributed-arp-table.c 3 additions, 3 deletionsnet/batman-adv/distributed-arp-table.c
- net/batman-adv/fragmentation.c 4 additions, 4 deletionsnet/batman-adv/fragmentation.c
- net/batman-adv/icmp_socket.c 3 additions, 3 deletionsnet/batman-adv/icmp_socket.c
- net/batman-adv/main.c 6 additions, 6 deletionsnet/batman-adv/main.c
- net/batman-adv/network-coding.c 11 additions, 11 deletionsnet/batman-adv/network-coding.c
- net/batman-adv/packet.h 53 additions, 21 deletionsnet/batman-adv/packet.h
- net/batman-adv/routing.c 9 additions, 9 deletionsnet/batman-adv/routing.c
- net/batman-adv/send.c 5 additions, 5 deletionsnet/batman-adv/send.c
- net/batman-adv/soft-interface.c 6 additions, 5 deletionsnet/batman-adv/soft-interface.c
Loading
Please register or sign in to comment