From: Dong Chenchen <dongchenchen2@huawei.com>
To: <idosch@idosch.org>, <davem@davemloft.net>, <edumazet@google.com>,
<kuba@kernel.org>, <pabeni@redhat.com>, <horms@kernel.org>,
<jiri@resnulli.us>, <oscmaes92@gmail.com>, <linux@treblig.org>,
<pedro.netdev@dondevamos.com>
Cc: <netdev@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
<zhangchangzhong@huawei.com>
Subject: [PATCH net v3 0/2] net: vlan: fix VLAN 0 refcount imbalance of toggling filtering during runtime
Date: Wed, 16 Jul 2025 11:45:02 +0800 [thread overview]
Message-ID: <20250716034504.2285203-1-dongchenchen2@huawei.com> (raw)
Fix VLAN 0 refcount imbalance of toggling filtering during runtime.
v2:
Add auto_vid0 flag to track the refcount of vlan0
Add selftest case for vlan_filter
v3:
Add Suggested-by signature
Modify commit message description
Dong Chenchen (2):
net: vlan: fix VLAN 0 refcount imbalance of toggling filtering during
runtime
selftests: Add test cases for vlan_filter modification during runtime
net/8021q/vlan.c | 42 ++++++--
net/8021q/vlan.h | 1 +
tools/testing/selftests/net/vlan_hw_filter.sh | 98 ++++++++++++++++---
3 files changed, 120 insertions(+), 21 deletions(-)
--
2.25.1
next reply other threads:[~2025-07-16 3:39 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-16 3:45 Dong Chenchen [this message]
2025-07-16 3:45 ` [PATCH net v3 1/2] " Dong Chenchen
2025-07-16 7:04 ` Ido Schimmel
2025-07-16 3:45 ` [PATCH net v3 2/2] selftests: Add test cases for vlan_filter modification " Dong Chenchen
2025-07-17 14:50 ` [PATCH net v3 0/2] net: vlan: fix VLAN 0 refcount imbalance of toggling filtering " 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=20250716034504.2285203-1-dongchenchen2@huawei.com \
--to=dongchenchen2@huawei.com \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=horms@kernel.org \
--cc=idosch@idosch.org \
--cc=jiri@resnulli.us \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@treblig.org \
--cc=netdev@vger.kernel.org \
--cc=oscmaes92@gmail.com \
--cc=pabeni@redhat.com \
--cc=pedro.netdev@dondevamos.com \
--cc=zhangchangzhong@huawei.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®