On Friday 21 January 2011 00:00:19 Sven Eckelmann wrote:
This patch is completely untested and is currently only to support marec and russell-- during their debugging sessions. Maybe it doesn't even compile.
Thanks Sven! I think this is another bugfix we'll need for the fragmentation.
--- a/batman-adv/routing.c +++ b/batman-adv/routing.c @@ -1243,6 +1243,28 @@ static int check_unicast_packet(struct sk_buff *skb, int hdr_size) return 0; }
+static int frag_can_reassemble(struct sk_buff *skb, int mtu)
I'd suggest we move this function into unicast.c to let it join all the other fragmentation related functions there. Apart from that it looks good. We might want to do some more testing though.
Regards, Marek