]> git.karo-electronics.de Git - linux-beck.git/commit
Staging: batman-adv: fix aggregation timing bug
authorMarek Lindner <lindner_marek@yahoo.de>
Fri, 7 May 2010 19:47:08 +0000 (21:47 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 11 May 2010 20:42:38 +0000 (13:42 -0700)
commitbd13b616aa9d082dce760759b7473da5ed399452
tree94b4ab204c98e728f7ade509c5daeff03acdd4d6
parentf347b8736f176681fbfc666bf00165125a3274a5
Staging: batman-adv: fix aggregation timing bug

batman-adv aggregates routing packets to reduce the number of packets in
the air. Every outgoing packet is compared with other packets in the
buffer to determine whether it can be aggregated or not. Packets sent
at a lower interval can be held back longer to maximize the aggregation.
Due to insufficient checking batman-adv held back all packets for a
certain time depending on its own lowest interval rate which slowed
down all other nodes.

Reported-by: Linus Lüssing <linus.luessing@web.de>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/batman-adv/aggregation.c
drivers/staging/batman-adv/send.c