Re: [PATCH 1/2] veth: Initialize dev->perm_addr

From: David Miller
Date: Wed Aug 26 2020 - 11:29:28 EST


From: Mira Ressel <aranea@xxxxxxxx>
Date: Wed, 26 Aug 2020 15:20:00 +0000

> I'm setting the peer->perm_addr, which would otherwise be zero, to its
> dev_addr, which has been either generated randomly by the kernel or
> provided by userland in a netlink attribute.

Which by definition makes it not necessarily a "permanent address" and
therefore is subject to being different across boots, which is exactly
what you don't want to happen for automatic address generation.