From: Paolo Abeni <pabeni@redhat.com>
To: Felix Fietkau <nbd@nbd.name>,
netdev@vger.kernel.org, Roopa Prabhu <roopa@nvidia.com>,
Nikolay Aleksandrov <razor@blackwall.org>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>
Cc: bridge@lists.linux.dev, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] net: bridge: fix switchdev host mdb entry updates
Date: Tue, 27 Aug 2024 13:03:40 +0200 [thread overview]
Message-ID: <a7a33be8-6ef6-402e-b821-8ce9d4620a1b@redhat.com> (raw)
In-Reply-To: <20240822163836.67061-1-nbd@nbd.name>
Hi,
On 8/22/24 18:38, Felix Fietkau wrote:
> When a mdb entry is removed, the bridge switchdev code can issue a
> switchdev_port_obj_del call for a port that was not offloaded.
>
> This leads to an imbalance in switchdev_port_obj_add/del calls, since
> br_switchdev_mdb_replay has not been called for the port before.
>
> This can lead to potential multicast forwarding issues and messages such as:
> mt7915e 0000:01:00.0 wl1-ap0: Failed to del Host Multicast Database entry
> (object id=3) with error: -ENOENT (-2).
>
> Fix this issue by checking the port offload status when iterating over
> lower devs.
>
> Signed-off-by: Felix Fietkau <nbd@nbd.name>
This looks like a fix suitable for the net tree and deserving a fixes
tag. Could you please repost adding both the target tree prefix and tag?
Thanks,
Paolo
next prev parent reply other threads:[~2024-08-27 11:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-22 16:38 [PATCH] net: bridge: fix switchdev host mdb entry updates Felix Fietkau
2024-08-27 11:03 ` Paolo Abeni [this message]
2024-08-27 15:56 ` Felix Fietkau
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=a7a33be8-6ef6-402e-b821-8ce9d4620a1b@redhat.com \
--to=pabeni@redhat.com \
--cc=bridge@lists.linux.dev \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nbd@nbd.name \
--cc=netdev@vger.kernel.org \
--cc=razor@blackwall.org \
--cc=roopa@nvidia.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