All of lore.kernel.org
 help / color / mirror / Atom feed
From: Davide Caratti <dcaratti@redhat.com>
To: Jamal Hadi Salim <jhs@mojatatu.com>,
	Cong Wang <xiyou.wangcong@gmail.com>,
	Jiri Pirko <jiri@resnulli.us>,
	"David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@google.com>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	Simon Horman <horms@kernel.org>,
	Lion Ackermann <nnamrec@gmail.com>,
	Petr Machata <petrm@nvidia.com>,
	netdev@vger.kernel.org, Ivan Vecera <ivecera@redhat.com>,
	Li Shuang <shuali@redhat.com>
Cc: stable@vger.kernel.org
Subject: [PATCH net v2 0/2] ets: use old 'nbands' while purging unused classes
Date: Tue, 12 Aug 2025 18:40:28 +0200	[thread overview]
Message-ID: <cover.1755016081.git.dcaratti@redhat.com> (raw)

- patch 1/2 fixes a NULL dereference in the control path of sch_ets qdisc
- patch 2/2 extends kselftests to verify effectiveness of the above fix

Changes since v1:
 - added a kselftest (thanks Victor) 

Davide Caratti (2):
  net/sched: ets: use old 'nbands' while purging unused classes
  selftests: net/forwarding: test purge of active DWRR classes

 net/sched/sch_ets.c                                   | 11 ++++++-----
 tools/testing/selftests/net/forwarding/sch_ets.sh     |  1 +
 .../testing/selftests/net/forwarding/sch_ets_tests.sh |  8 ++++++++
 3 files changed, 15 insertions(+), 5 deletions(-)

-- 
2.47.0


             reply	other threads:[~2025-08-12 16:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-12 16:40 Davide Caratti [this message]
2025-08-12 16:40 ` [PATCH net v2 1/2] net/sched: ets: use old 'nbands' while purging unused classes Davide Caratti
2025-08-12 16:40 ` [PATCH net v2 2/2] selftests: net/forwarding: test purge of active DWRR classes Davide Caratti
2025-08-12 16:51   ` kernel test robot
2025-08-13 12:00   ` Victor Nogueira
2025-08-14  1:30 ` [PATCH net v2 0/2] ets: use old 'nbands' while purging unused classes patchwork-bot+netdevbpf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1755016081.git.dcaratti@redhat.com \
    --to=dcaratti@redhat.com \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=horms@kernel.org \
    --cc=ivecera@redhat.com \
    --cc=jhs@mojatatu.com \
    --cc=jiri@resnulli.us \
    --cc=kuba@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=nnamrec@gmail.com \
    --cc=pabeni@redhat.com \
    --cc=petrm@nvidia.com \
    --cc=shuali@redhat.com \
    --cc=stable@vger.kernel.org \
    --cc=xiyou.wangcong@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.