Cong Wang
759ae57f1b
net_sched: get rid of unnecessary dev_qdisc_reset()
...
Resetting old qdisc on dev_queue->qdisc_sleeping in
dev_qdisc_reset() is redundant, because this qdisc,
even if not same with dev_queue->qdisc, is reset via
qdisc_put() right after calling dev_graft_qdisc() when
hitting refcnt 0.
This is very easy to observe with qdisc_reset() tracepoint
and stack traces.
Reported-by: Václav Zindulka <vaclav.zindulka@tlapnet.cz>
Tested-by: Václav Zindulka <vaclav.zindulka@tlapnet.cz>
Cc: Jamal Hadi Salim <jhs@mojatatu.com>
Cc: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-05-27 15:05:49 -07:00
..
2020-05-15 10:23:11 -07:00
2020-03-30 13:45:04 -07:00
2019-10-30 18:07:51 -07:00
2019-11-26 15:42:43 -08:00
2020-04-22 12:48:17 -07:00
2020-01-19 16:02:15 +01:00
2019-10-30 18:07:51 -07:00
2020-05-01 16:08:19 -07:00
2020-01-17 10:58:15 +01: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
2020-03-25 12:24:33 -07:00
2019-12-04 17:11:25 -08:00
2019-11-05 14:03:11 -08:00
2020-03-26 19:20:37 -07:00
2019-11-26 15:42:43 -08:00
2020-02-17 14:17:02 -08:00
2019-11-05 18:20:55 -08:00
2020-03-26 19:20:37 -07: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
2020-05-15 10:23:11 -07:00
2020-01-27 10:51:43 +01:00
2020-01-27 10:51:43 +01:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2020-05-26 15:22:58 -07:00
2020-01-27 10:51:43 +01:00
2020-03-30 11:06:49 -07:00
2020-03-16 01:59:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2020-02-01 12:25:06 -08:00
2020-04-03 16:00:08 -07:00
2020-01-27 10:51:43 +01: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
2020-04-23 15:50:50 -07:00
2019-11-06 16:14:48 -08:00
2020-02-29 21:27:02 -08:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2020-01-27 10:55:26 +01:00
2020-05-01 16:08:19 -07:00
2020-05-01 16:08:19 -07:00
2020-05-27 15:05:49 -07:00
2020-02-29 21:27:02 -08:00
2019-05-30 11:26:32 -07:00
2020-01-14 11:48:41 -08:00
2019-09-30 11:07:46 -07:00
2020-03-24 16:14:05 -07:00
2020-05-06 22:10:13 -07: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
2020-04-22 19:20:28 -07:00
2019-12-18 13:32:29 -08:00
2020-03-05 14:03:31 -08:00
2020-04-27 11:34:04 -07:00
2020-03-04 13:25:55 -08:00
2020-05-04 11:56:17 -07:00
2020-05-27 15:05:49 -07: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
2020-02-19 17:49:48 -08: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
2020-02-29 21:27:02 -08:00
2020-03-09 18:05:55 -07: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
2020-04-30 17:51:41 -07:00
2019-10-23 20:13:22 -07:00
2020-04-27 11:49:57 -07:00
2020-05-03 15:52:13 -07:00
2020-03-12 11:25:08 -07:00
2020-01-25 10:56:31 +01:00
2019-05-30 11:26:32 -07:00