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@xxxxxxxxxx> > Reviewed-by: Ido Schimmel <idosch@xxxxxxxxxx> > --- > > Notes: > CC: Shuah Khan <shuah@xxxxxxxxxx> > CC: Benjamin Poirier <bpoirier@xxxxxxxxxx> > CC: Hangbin Liu <liuhangbin@xxxxxxxxx> > CC: Vladimir Oltean <vladimir.oltean@xxxxxxx> > CC: linux-kselftest@xxxxxxxxxxxxxxx > Reviewed-by: Nikolay Aleksandrov <razor@xxxxxxxxxxxxx>