summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2021-06-02 00:50:35 +0300
committerSimon Wunderlich <sw@simonwunderlich.de>2021-06-02 23:25:45 +0300
commitfa205602d46e0b66c0c90672bce8b36e5de449df (patch)
tree6d788897d8f118e1f52ba53d67d2a57d8166b544 /sound
parentbf6b260b8a9654db99761cde74c6b16356b9b441 (diff)
downloadlinux-fa205602d46e0b66c0c90672bce8b36e5de449df.tar.xz
batman-adv: Avoid name based attaching of hard interfaces
The sysfs code for the batman-adv/mesh_iface file was receiving a string of the batadv interface. This interface name was then provided to the code which shared sysfs+rtnetlink code for attaching an hard-interface to an batadv interface. The rtnetlink code was also using the (extracted) interface name from the ndo_add_slave callback to increase the shared code - even when it would have been more efficient to use the provided net_device object directly instead of searching it again (based on its name) in batadv_hardif_enable_interface. But this indirect handling is no longer necessary because the sysfs code was dropped. There is now only a single code path which is using batadv_hardif_enable_interface. Signed-off-by: Sven Eckelmann <sven@narfation.org> Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions