summaryrefslogtreecommitdiff
path: root/drivers/net/macvlan.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2020-01-08 12:45:53 -0800
committerDavid S. Miller <davem@davemloft.net>2020-01-08 12:45:53 -0800
commit2f806c2a16b37ed6f90e4d9c1b14e97bb24ab0c2 (patch)
tree38df958b10b05e5d459aeec5c5bd18e6785d7a61 /drivers/net/macvlan.c
parentcb6f74a1ead4c5ab2431ea6dbecd1447b74f7249 (diff)
parent240ce7f6428ff5188b9eedc066e1e4d645b8635f (diff)
Merge branch 'net-ungraft-prio'
Petr Machata says: ==================== When ungrafting from PRIO, replace child with FIFO When a child Qdisc is removed from one of the PRIO Qdisc's bands, it is replaced unconditionally by a NOOP qdisc. As a result, any traffic hitting that band gets dropped. That is incorrect--no Qdisc was explicitly added when PRIO was created, and after removal, none should have to be added either. In patch #2, this problem is fixed for PRIO by first attempting to create a default Qdisc and only falling back to noop when that fails. This pattern of attempting to create an invisible FIFO, using NOOP only as a fallback, is also seen in some other Qdiscs. The only driver currently offloading PRIO (and thus presumably the only one impacted by this) is mlxsw. Therefore patch #1 extends mlxsw to handle the replacement by an invisible FIFO gracefully. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/macvlan.c')
0 files changed, 0 insertions, 0 deletions