Re: [libvirt] [PATCHv2 1/2] util: allow sending mac addr to virNetNewLink without ifindex

2019-11-07 Thread Jiri Denemark
On Thu, Oct 17, 2019 at 21:59:48 -0400, Laine Stump wrote: > From: Laine Stump > > Although until now, any use of the extra_args argument (a pointer to a > struct containing extra attributes to add the the RTM_NEWLINK message) > would always have the ifindex and mac set, so the code could assume

[libvirt] [PATCHv2 1/2] util: allow sending mac addr to virNetNewLink without ifindex

2019-10-17 Thread Laine Stump
From: Laine Stump Although until now, any use of the extra_args argument (a pointer to a struct containing extra attributes to add the the RTM_NEWLINK message) would always have the ifindex and mac set, so the code could assume it was safe to add both to the message if extra_args != NULL. There i