]> git.baikalelectronics.ru Git - kernel.git/commit
batman-adv: Set the txqueuelen to zero when creating soft interface
authorAndrew Lunn <andrew@lunn.ch>
Sun, 17 Apr 2011 18:39:07 +0000 (20:39 +0200)
committerSven Eckelmann <sven@narfation.org>
Sun, 17 Apr 2011 19:11:02 +0000 (21:11 +0200)
commit2ad4499323bf6365cd57cf64b95875ec4ee75894
tree270732ac1ca5381c192c55925038271d6d2661f4
parentd9c283fa869ddf7dcf9cd3006b5ac57c6bc89d8d
batman-adv: Set the txqueuelen to zero when creating soft interface

Like other virtual interfaces, e.g. br0, we don't need a transmit
queue. Packets should only be queued on real interfaces which are
underneath. In practice this patch makes little difference since the
virtual interfaces can accept packets as fast as they come, but the
patch will avoid bufferbloat questions to the mailling lists in the
future.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Tested-by: Linus Lüssing <linus.luessing@web.de>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
net/batman-adv/soft-interface.c