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 <pe...@nvidia.com> > Reviewed-by: Ido Schimmel <ido...@nvidia.com> > --- > > Notes: > CC: Shuah Khan <sh...@kernel.org> > CC: Benjamin Poirier <bpoir...@nvidia.com> > CC: Hangbin Liu <liuhang...@gmail.com> > CC: Vladimir Oltean <vladimir.olt...@nxp.com> > CC: linux-kselftest@vger.kernel.org >
Reviewed-by: Nikolay Aleksandrov <ra...@blackwall.org>