[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200826.082857.584544823490249841.davem@davemloft.net>
Date: Wed, 26 Aug 2020 08:28:57 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: aranea@...ah.de
Cc: kuba@...nel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/2] veth: Initialize dev->perm_addr
From: Mira Ressel <aranea@...ah.de>
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.
Powered by blists - more mailing lists