On 10/9/19 8:49 AM, Jiri Pirko wrote: > From: Jiri Pirko <j...@mellanox.com> > > Extend ll_name_to_index() to get the index of a netdevice using > alternative interface name. Allow alternative long names to pass checks > in couple of ip link/addr commands.
you don't add altnames to the name_hash, so the lookup can not find a match based on altname.