Petr Machata
240ce7f642
net: sch_prio: When ungrafting, replace 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.
Fix 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 other
Qdiscs.
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Signed-off-by: Petr Machata <petrm@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-01-08 12:45:53 -08:00
..
2019-11-26 15:42:43 -08:00
2019-10-30 18:07:51 -07:00
2019-10-30 18:07:51 -07:00
2019-11-26 15:42:43 -08:00
2019-12-09 10:36:44 -08:00
2019-11-26 15:42:43 -08:00
2019-10-30 18:07:51 -07:00
2019-11-26 15:42:43 -08:00
2019-10-30 18:07:51 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-12-27 16:35:32 -08:00
2019-12-04 17:11:25 -08:00
2019-11-05 14:03:11 -08:00
2019-11-22 16:27:24 -08:00
2019-11-26 15:42:43 -08:00
2019-11-26 15:42:43 -08:00
2019-11-05 18:20:55 -08:00
2019-11-26 15:42:43 -08:00
2019-10-30 18:07:51 -07:00
2019-11-26 15:42:43 -08:00
2019-11-26 15:42:43 -08:00
2019-12-30 20:35:19 -08:00
2019-05-30 11:26:32 -07:00
2019-11-01 15:16:01 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-12-30 20:35:19 -08:00
2019-06-15 14:06:13 -07:00
2019-08-30 15:12:05 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-21 10:50:45 +02:00
2019-12-30 20:35:19 -08:00
2019-05-21 11:28:45 +02:00
2019-05-30 11:26:32 -07:00
2019-06-19 17:09:55 +02:00
2019-06-29 11:15:12 -07:00
2019-11-06 16:14:48 -08:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-09-27 20:08:28 +02:00
2019-07-09 12:11:59 -07:00
2019-10-08 16:21:58 -07:00
2019-05-21 10:50:45 +02:00
2019-05-30 11:26:32 -07:00
2020-01-02 16:34:28 -08:00
2019-09-30 11:07:46 -07:00
2019-10-01 09:51:39 -07:00
2019-06-19 17:09:55 +02:00
2019-07-29 09:46:58 -07:00
2019-06-19 17:09:55 +02:00
2019-10-04 18:28:30 -07:00
2019-10-15 20:32:04 -07:00
2019-05-30 11:26:32 -07:00
2019-10-22 15:31:42 -07:00
2020-01-08 12:40:47 -08:00
2019-11-08 12:21:55 -08:00
2019-05-30 11:26:32 -07:00
2019-04-27 17:07:21 -04:00
2019-10-23 20:13:22 -07:00
2019-09-27 12:13:55 +02:00
2019-07-09 14:38:50 -07:00
2019-12-03 11:53:55 -08:00
2019-12-06 11:58:45 -08:00
2019-11-30 10:38:40 -08:00
2019-10-19 12:12:36 -07:00
2019-11-20 12:31:45 -08:00
2019-05-30 11:26:32 -07:00
2020-01-08 12:45:53 -08:00
2019-06-19 17:09:55 +02:00
2019-05-30 11:26:32 -07:00
2019-10-23 20:13:22 -07:00
2019-10-23 20:13:22 -07:00
2019-05-30 11:26:32 -07:00
2019-11-19 15:23:15 -08:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00