diff options
author | Cong Wang <xiyou.wangcong@gmail.com> | 2020-05-26 21:35:23 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-05-27 15:05:49 -0700 |
commit | 4909daba37846317ec7dcba16fba009636f7fe21 (patch) | |
tree | 0d75254b656da561bf38f52b12b9c65c1f4b5341 /Documentation | |
parent | b3037ac50130a169c3980e63f8df2f0b599db411 (diff) | |
download | lwn-4909daba37846317ec7dcba16fba009636f7fe21.tar.gz lwn-4909daba37846317ec7dcba16fba009636f7fe21.zip |
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>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions