Skip to content

two fixes for 'act_gate' control plane

Davide Caratti netdev 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 3 repliesIn review
  2. v22 patches 10 repliesSuperseded
  3. v12 patches 1 replySuperseded

Changes in v3 from the cover letter

- fix undefined behavior in patch 1/2
- improve comment in patch 2/2

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2net/sched: act_gate: fix NULL dereference in tcf_gate_init()net/sched/act_gate.c+13 -231 reply
2/2net/sched: act_gate: fix configuration of the periodic timernet/sched/act_gate.c+55 -351 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchVladimir Oltean
1/2A-b T-b
2/2A-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH net v3 0/2] two fixes for 'act_gate' control plane

- patch 1/2 attempts to fix the error path of tcf_gate_init() when users try to configure 'act_gate' rules with wrong parameters
- patch 2/2 is a follow-up of a recent fix for NULL dereference in the error path of tcf_gate_init()

further work will introduce a tdc test for 'act_gate'.

changes since v2:
- fix undefined behavior in patch 1/2
- improve comment in patch 2/2
changes since v1:
coding style fixes in patch 1/2 and 2/2

Davide Caratti (2):
net/sched: act_gate: fix NULL dereference in tcf_gate_init() net/sched: act_gate: fix configuration of the periodic timer

 net/sched/act_gate.c | 126 +++++++++++++++++++++++--------------------
 1 file changed, 68 insertions(+), 58 deletions(-)
Signature · 1 line
2.26.2