kernel_optimize_test/net/batman-adv
Sven Eckelmann 53e771457e batman-adv: Check total_size when queueing fragments
The fragmentation code was replaced in
610bfc6bc9 ("batman-adv: Receive fragmented
packets and merge") by an implementation which handles the queueing+merging
of fragments based on their size and the total_size of the non-fragmented
packet. This total_size is announced by each fragment. The new
implementation doesn't check if the the total_size information of the
packets inside one chain is consistent.

This is consistency check is recommended to allow using any of the packets
in the queue to decide whether all fragments of a packet are received or
not.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
Acked-by: Martin Hundebøll <martin@hundeboll.net>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
2015-05-29 10:13:35 +02:00
..
bat_algo.h batman-adv: update copyright years for 2015 2015-05-29 10:13:35 +02:00
bat_iv_ogm.c batman-adv: update copyright years for 2015 2015-05-29 10:13:35 +02:00
bitarray.c batman-adv: update copyright years for 2015 2015-05-29 10:13:35 +02:00
bitarray.h batman-adv: update copyright years for 2015 2015-05-29 10:13:35 +02:00
bridge_loop_avoidance.c batman-adv: update copyright years for 2015 2015-05-29 10:13:35 +02:00
bridge_loop_avoidance.h batman-adv: update copyright years for 2015 2015-05-29 10:13:35 +02:00
debugfs.c batman-adv: update copyright years for 2015 2015-05-29 10:13:35 +02:00
debugfs.h batman-adv: update copyright years for 2015 2015-05-29 10:13:35 +02:00
distributed-arp-table.c batman-adv: update copyright years for 2015 2015-05-29 10:13:35 +02:00
distributed-arp-table.h batman-adv: update copyright years for 2015 2015-05-29 10:13:35 +02:00
fragmentation.c batman-adv: Check total_size when queueing fragments 2015-05-29 10:13:35 +02:00
fragmentation.h batman-adv: update copyright years for 2015 2015-05-29 10:13:35 +02:00
gateway_client.c batman-adv: update copyright years for 2015 2015-05-29 10:13:35 +02:00
gateway_client.h batman-adv: update copyright years for 2015 2015-05-29 10:13:35 +02:00
gateway_common.c batman-adv: update copyright years for 2015 2015-05-29 10:13:35 +02:00
gateway_common.h batman-adv: update copyright years for 2015 2015-05-29 10:13:35 +02:00
hard-interface.c batman-adv: update copyright years for 2015 2015-05-29 10:13:35 +02:00
hard-interface.h batman-adv: update copyright years for 2015 2015-05-29 10:13:35 +02:00
hash.c batman-adv: update copyright years for 2015 2015-05-29 10:13:35 +02:00
hash.h batman-adv: update copyright years for 2015 2015-05-29 10:13:35 +02:00
icmp_socket.c batman-adv: update copyright years for 2015 2015-05-29 10:13:35 +02:00
icmp_socket.h batman-adv: update copyright years for 2015 2015-05-29 10:13:35 +02:00
Kconfig batman-adv: Kconfig, Add missing DEBUG_FS dependency 2015-01-07 22:17:11 +01:00
main.c batman-adv: update copyright years for 2015 2015-05-29 10:13:35 +02:00
main.h batman-adv: update copyright years for 2015 2015-05-29 10:13:35 +02:00
Makefile batman-adv: update copyright years for 2015 2015-05-29 10:13:35 +02:00
multicast.c batman-adv: update copyright years for 2015 2015-05-29 10:13:35 +02:00
multicast.h batman-adv: update copyright years for 2015 2015-05-29 10:13:35 +02:00
network-coding.c batman-adv: update copyright years for 2015 2015-05-29 10:13:35 +02:00
network-coding.h batman-adv: update copyright years for 2015 2015-05-29 10:13:35 +02:00
originator.c batman-adv: update copyright years for 2015 2015-05-29 10:13:35 +02:00
originator.h batman-adv: update copyright years for 2015 2015-05-29 10:13:35 +02:00
packet.h batman-adv: update copyright years for 2015 2015-05-29 10:13:35 +02:00
routing.c batman-adv: update copyright years for 2015 2015-05-29 10:13:35 +02:00
routing.h batman-adv: update copyright years for 2015 2015-05-29 10:13:35 +02:00
send.c batman-adv: update copyright years for 2015 2015-05-29 10:13:35 +02:00
send.h batman-adv: update copyright years for 2015 2015-05-29 10:13:35 +02:00
soft-interface.c batman-adv: update copyright years for 2015 2015-05-29 10:13:35 +02:00
soft-interface.h batman-adv: update copyright years for 2015 2015-05-29 10:13:35 +02:00
sysfs.c batman-adv: update copyright years for 2015 2015-05-29 10:13:35 +02:00
sysfs.h batman-adv: update copyright years for 2015 2015-05-29 10:13:35 +02:00
translation-table.c batman-adv: update copyright years for 2015 2015-05-29 10:13:35 +02:00
translation-table.h batman-adv: update copyright years for 2015 2015-05-29 10:13:35 +02:00
types.h batman-adv: Check total_size when queueing fragments 2015-05-29 10:13:35 +02:00