]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - net/core/dev.c
net: warn if drivers set tx_queue_len = 0
authorPhil Sutter <phil@nwl.cc>
Tue, 18 Aug 2015 08:30:48 +0000 (10:30 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Aug 2015 18:55:08 +0000 (11:55 -0700)
commit906470c19da771e638e7c8e16e16c31995b139cc
tree9e200890991bd496ae628b4ed4c53f7b3dbc9469
parent7d9e437d56bea20bef180bd64ad2ad354de4c79b
net: warn if drivers set tx_queue_len = 0

Due to the introduction of IFF_NO_QUEUE, there is a better way for
drivers to indicate that no qdisc should be attached by default. Though,
the old convention can't be dropped since ignoring that setting would
break drivers still using it. Instead, add a warning so out-of-tree
driver maintainers get a chance to adjust their code before we finally
get rid of any special handling of tx_queue_len == 0.

Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c