netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net v3 0/2] two fixes for 'act_gate' control plane
@ 2020-06-16 20:25 Davide Caratti
  2020-06-16 20:25 ` [PATCH net v3 1/2] net/sched: act_gate: fix NULL dereference in tcf_gate_init() Davide Caratti
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Davide Caratti @ 2020-06-16 20:25 UTC (permalink / raw)
  To: Po Liu, Cong Wang, Vladimir Oltean; +Cc: David S. Miller, netdev

- 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(-)

-- 
2.26.2


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-06-19  3:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-16 20:25 [PATCH net v3 0/2] two fixes for 'act_gate' control plane Davide Caratti
2020-06-16 20:25 ` [PATCH net v3 1/2] net/sched: act_gate: fix NULL dereference in tcf_gate_init() Davide Caratti
2020-06-16 22:51   ` Vladimir Oltean
2020-06-16 20:25 ` [PATCH net v3 2/2] net/sched: act_gate: fix configuration of the periodic timer Davide Caratti
2020-06-16 22:52   ` Vladimir Oltean
2020-06-19  3:18 ` [PATCH net v3 0/2] two fixes for 'act_gate' control plane David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).