[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2d546228-e290-4161-a7cf-227732ab8e73@blackwall.org>
Date: Fri, 6 Dec 2024 11:48:35 +0200
From: Nikolay Aleksandrov <razor@...ckwall.org>
To: Petr Machata <petrm@...dia.com>, "David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>, Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>, Andrew Lunn <andrew+netdev@...n.ch>,
netdev@...r.kernel.org
Cc: Simon Horman <horms@...nel.org>, Ido Schimmel <idosch@...dia.com>,
mlxsw@...dia.com, Shuah Khan <shuah@...nel.org>,
Benjamin Poirier <bpoirier@...dia.com>, Hangbin Liu <liuhangbin@...il.com>,
Vladimir Oltean <vladimir.oltean@....com>, linux-kselftest@...r.kernel.org
Subject: Re: [PATCH net-next v2 10/11] selftests: net: lib: Add several
autodefer helpers
On 12/5/24 17:40, Petr Machata wrote:
> Add ip_link_set_addr(), ip_link_set_up(), ip_addr_add() and ip_route_add()
> to the suite of helpers that automatically schedule a corresponding
> cleanup.
>
> When setting a new MAC, one needs to remember the old address first. Move
> mac_get() from forwarding/ to that end.
>
> Signed-off-by: Petr Machata <petrm@...dia.com>
> Reviewed-by: Ido Schimmel <idosch@...dia.com>
> ---
>
> Notes:
> CC: Shuah Khan <shuah@...nel.org>
> CC: Benjamin Poirier <bpoirier@...dia.com>
> CC: Hangbin Liu <liuhangbin@...il.com>
> CC: Vladimir Oltean <vladimir.oltean@....com>
> CC: linux-kselftest@...r.kernel.org
>
Reviewed-by: Nikolay Aleksandrov <razor@...ckwall.org>
Powered by blists - more mailing lists