[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4a68c9c3-5f10-6b6c-bd9b-eb560fde7ed2@gmail.com>
Date: Sat, 26 Jun 2021 20:01:40 -0700
From: Florian Fainelli <f.fainelli@...il.com>
To: Vladimir Oltean <olteanv@...il.com>,
Jakub Kicinski <kuba@...nel.org>,
"David S. Miller" <davem@...emloft.net>, netdev@...r.kernel.org
Cc: Andrew Lunn <andrew@...n.ch>,
Vivien Didelot <vivien.didelot@...il.com>,
Tobias Waldekranz <tobias@...dekranz.com>,
Jiri Pirko <jiri@...nulli.us>,
Ido Schimmel <idosch@...sch.org>,
Roopa Prabhu <roopa@...dia.com>,
Nikolay Aleksandrov <nikolay@...dia.com>,
Vladimir Oltean <vladimir.oltean@....com>
Subject: Re: [PATCH net-next 7/7] net: dsa: replay a deletion of switchdev
objects for ports leaving a bridged LAG
On 6/25/2021 11:53 AM, Vladimir Oltean wrote:
> From: Vladimir Oltean <vladimir.oltean@....com>
>
> When a DSA switch port leaves a bonding interface that is under a
> bridge, there might be dangling switchdev objects on that port left
> behind, because the bridge is not aware that its lower interface (the
> bond) changed state in any way.
>
> Call the bridge replay helpers with adding=false before changing
> dp->bridge_dev to NULL, because we need to simulate to
> dsa_slave_port_obj_del() that these notifications were emitted by the
> bridge.
>
> Signed-off-by: Vladimir Oltean <vladimir.oltean@....com>
Reviewed-by: Florian Fainelli <f.fainelli@...il.com>
--
Florian
Powered by blists - more mailing lists