[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a7a33be8-6ef6-402e-b821-8ce9d4620a1b@redhat.com>
Date: Tue, 27 Aug 2024 13:03:40 +0200
From: Paolo Abeni <pabeni@...hat.com>
To: Felix Fietkau <nbd@....name>, netdev@...r.kernel.org,
Roopa Prabhu <roopa@...dia.com>, Nikolay Aleksandrov <razor@...ckwall.org>,
"David S. Miller" <davem@...emloft.net>, Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>
Cc: bridge@...ts.linux.dev, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: bridge: fix switchdev host mdb entry updates
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@....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
Powered by blists - more mailing lists