Staging: batman-adv: restructure fragmentation to handle batman unicast packets
authorAndreas Langer <an.langer@gmx.de>
Sun, 21 Nov 2010 23:55:45 +0000 (00:55 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 29 Nov 2010 19:09:09 +0000 (11:09 -0800)
commit49b588e79f7c85aec05008a945fdf17d281e83f9
tree6a7c749acb351ef806b2b31fb986722e437cb8aa
parent3f427604d669031343af8e6ecd8d1cc7a6408ab2
Staging: batman-adv: restructure fragmentation to handle batman unicast packets

The unicast_frag_send_skb() function expected 'raw' packets (without any
batman-adv header) to fragment them. This needs to be changed, so that
this function is able to fragment packets that already traveled inside
the mesh but need to be fragmented now.

Signed-off-by: Andreas Langer <an.langer@gmx.de>
Signed-off-by: Sven Eckelmann <sven.eckelmann@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/batman-adv/unicast.c