From: Florian Westphal <f...@strlen.de> Date: Mon, 2 Oct 2017 23:50:05 +0200
> Device alias can be set by either rtnetlink (rtnl is held) or sysfs. > > rtnetlink hold the rtnl mutex, sysfs acquires it for this purpose. > Add an extra mutex for it and use rcu to protect concurrent accesses. > > This allows the sysfs path to not take rtnl and would later allow > to not hold it when dumping ifalias. > > Based on suggestion from Eric Dumazet. > > Signed-off-by: Florian Westphal <f...@strlen.de> Applied, thanks Florian.