These are the second revision of a few patches to remove the current fragmentation code and replace it with a new version that supports more packet types and more fragments per packet, thus allowing bigger payloads.
The patches are based on current master and are meant for the next big bump in compat number. Revision 2 is changed according to Mareks review.
Martin Hundebøll (3): batman-adv: Remove old fragmentation code batman-adv: Receive fragmented packets and merge batman-adv: Fragment and send skbs larger than mtu
Makefile.kbuild | 2 +- distributed-arp-table.c | 11 +- fragmentation.c | 479 ++++++++++++++++++++++++++++++++++++++++++++++++ fragmentation.h | 50 +++++ hard-interface.c | 1 - main.c | 8 +- main.h | 9 + originator.c | 19 +- packet.h | 41 +++-- routing.c | 146 ++++++--------- routing.h | 4 +- send.c | 194 +++++++++++++++++++- send.h | 36 ++++ soft-interface.c | 15 +- types.h | 63 +++++-- unicast.c | 478 ----------------------------------------------- unicast.h | 92 ---------- 17 files changed, 930 insertions(+), 718 deletions(-) create mode 100644 fragmentation.c create mode 100644 fragmentation.h delete mode 100644 unicast.c delete mode 100644 unicast.h