mirror of
https://github.com/brain-hackers/linux-brain.git
synced 2024-06-09 23:36:23 +09:00
net: sch_generic: Use pfifo_fast as fallback scheduler for CAN hardware
commit 546b85bb0aadb5a928b49b53dc02911996169c0b upstream. Signed-off-by: Vincent Prince <vincent.prince.fr@gmail.com>
This commit is contained in:
parent
500f9a04cd
commit
fb1d29ab84
|
@ -768,6 +768,8 @@ static void attach_one_default_qdisc(struct net_device *dev,
|
|||
|
||||
if (dev->priv_flags & IFF_NO_QUEUE)
|
||||
ops = &noqueue_qdisc_ops;
|
||||
else if(dev->type == ARPHRD_CAN)
|
||||
ops = &pfifo_fast_ops;
|
||||
|
||||
qdisc = qdisc_create_dflt(dev_queue, ops, TC_H_ROOT);
|
||||
if (!qdisc) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user