mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 08:52:27 +00:00
After commitf84bb1eac0("net: fix IFF_NO_QUEUE for drivers using alloc_netdev"), default qdisc was changed to noqueue because tuntap does not set tx_queue_len during .setup(). This patch restores default qdisc by setting tx_queue_len in tun_setup(). Fixes:f84bb1eac0("net: fix IFF_NO_QUEUE for drivers using alloc_netdev") Cc: Phil Sutter <[email protected]> Signed-off-by: Jason Wang <[email protected]> Acked-by: Michael S. Tsirkin <[email protected]> Acked-by: Phil Sutter <[email protected]> Signed-off-by: David S. Miller <[email protected]>