[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180524.231018.981173045711989778.davem@davemloft.net>
Date: Thu, 24 May 2018 23:10:18 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: stephen@...workplumber.org
Cc: netdev@...r.kernel.org, sthemmin@...rosoft.com
Subject: Re: [PATCH net-next] hv_netvsc: fix bogus ifalias on network device
From: Stephen Hemminger <stephen@...workplumber.org>
Date: Wed, 23 May 2018 18:02:00 -0700
> If the guest network adapter is not configured with DeviceNaming
> enabled on the host, then the query for friendly name will return
> success but with a zero length name. Which then leads to a garbage value
> (stack contents) for ifalias.
>
> Fix is simple, just don't set name if host doesn't return it.
>
> Fixes: 0fe554a46a0f ("hv_netvsc: propogate Hyper-V friendly name into interface alias")
> Signed-off-by: Stephen Hemminger <sthemmin@...rosoft.com>
Applied.
Powered by blists - more mailing lists