aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/sfc/tx.c
diff options
context:
space:
mode:
authorStephen Hemminger <stephen@networkplumber.org>2018-05-23 18:02:00 -0700
committerDavid S. Miller <davem@davemloft.net>2018-05-24 23:06:33 -0400
commitd97cde6ab547a8115fb4fae73f030a96519ac3c6 (patch)
tree00b4ca9906e4205a3ca11c57825168a0d023b0f2 /drivers/net/ethernet/sfc/tx.c
parentMerge branch 'net-Update-fib_table_lookup-tracepoints' (diff)
downloadlinux-dev-d97cde6ab547a8115fb4fae73f030a96519ac3c6.tar.xz
linux-dev-d97cde6ab547a8115fb4fae73f030a96519ac3c6.zip
hv_netvsc: fix bogus ifalias on network device
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@microsoft.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/sfc/tx.c')
0 files changed, 0 insertions, 0 deletions