summaryrefslogtreecommitdiff
path: root/scripts/checkstack.pl
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2017-10-02 23:50:05 +0200
committerDavid S. Miller <davem@davemloft.net>2017-10-03 15:56:01 -0700
commit6c5570016b972d9b1f0f6c2dca9cc0422b1f92bf (patch)
tree2ee918eba58118a7cd86a97ba07fc26c4a743a2d /scripts/checkstack.pl
parent4d2c0cda07448ea6980f00102dc3964eb25e241c (diff)
net: core: decouple ifalias get/set from rtnl lock
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 <fw@strlen.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/checkstack.pl')
0 files changed, 0 insertions, 0 deletions