diff options
author | Cong Wang <xiyou.wangcong@gmail.com> | 2020-05-27 07:35:23 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-05-28 01:05:49 +0300 |
commit | 4909daba37846317ec7dcba16fba009636f7fe21 (patch) | |
tree | 0d75254b656da561bf38f52b12b9c65c1f4b5341 /include | |
parent | b3037ac50130a169c3980e63f8df2f0b599db411 (diff) | |
download | linux-4909daba37846317ec7dcba16fba009636f7fe21.tar.xz |
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 'include')
0 files changed, 0 insertions, 0 deletions