Staging: batman-adv: fix rogue packets on shutdown
authorMarek Lindner <lindner_marek@yahoo.de>
Sat, 22 May 2010 15:48:44 +0000 (17:48 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 4 Jun 2010 20:38:55 +0000 (13:38 -0700)
commit5f411a90ee163801434775264b4f9932f1de9e4c
tree3837fcba82e6c9d6786330240d6b9385fac31650
parent9d20015391dfc47f6371492925cc0333ac403414
Staging: batman-adv: fix rogue packets on shutdown

On module shutdown batman-adv would purge the internal packet
queue by sending all remaining packets which could confuse
other nodes. Now, the packets are silently discarded.

Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Sven Eckelmann <sven.eckelmann@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/batman-adv/send.c