fix packet stuck problem for lockless qdisc

Started by Yunsheng Lin on Apr 16, 2021

Series

2 patches, 4 files

+74 −12

Subsystems (3)

Maintainers (8)

Show 4 more
DORMANTno replies SUPERSEDED

Status: Superseded by v8 (posted 2021-05-14). [go to v8]

Revision v4 (5 revisions archived).

Revisions (5)
  1. v4 current re-posted go to this post
  2. v5 [diff against previous]
  3. v6 [diff against previous]
  4. v7 [diff against previous]
  5. v8 [diff against previous] re-posted go to this post

open the first message on its own page

Message details and related content
This patchset fixes the packet stuck problem mentioned in [1].

Patch 1: Add STATE_MISSED flag to fix packet stuck problem.
Patch 2: Fix a tx_action rescheduling problem after STATE_MISSED
         flag is added in patch 1.

V4: Change STATE_NEED_RESCHEDULE to STATE_MISSED and add patch 2.

[1]. https://lkml.org/lkml/2019/10/9/42

Yunsheng Lin (2):
  net: sched: fix packet stuck problem for lockless qdisc
  net: sched: fix endless tx action reschedule during deactivation

 include/net/pkt_sched.h   |  7 +------
 include/net/sch_generic.h | 37 ++++++++++++++++++++++++++++++++++++-
 net/core/dev.c            | 26 ++++++++++++++++++++++----
 net/sched/sch_generic.c   | 16 +++++++++++++++-
 4 files changed, 74 insertions(+), 12 deletions(-)

-- 
2.7.4
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help