commit | 4909daba37846317ec7dcba16fba009636f7fe21 | [log] [tgz] |
---|---|---|
author | Cong Wang <xiyou.wangcong@gmail.com> | Tue May 26 21:35:23 2020 -0700 |
committer | David S. Miller <davem@davemloft.net> | Wed May 27 15:05:49 2020 -0700 |
tree | 0d75254b656da561bf38f52b12b9c65c1f4b5341 | |
parent | b3037ac50130a169c3980e63f8df2f0b599db411 [diff] |
net_sched: use qdisc_reset() in qdisc_destroy() qdisc_destroy() calls ops->reset() and cleans up qdisc->gso_skb and qdisc->skb_bad_txq, these are nearly same with qdisc_reset(), so just call it directly, and cosolidate the code for the next patch. 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>