summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2025-05-19 22:46:28 +0200
committerSimon Wunderlich <sw@simonwunderlich.de>2025-05-31 10:41:11 +0200
commit7dc284702bcd065a822a4c0bdbca09a08de5a654 (patch)
tree9d69a4d2b54ae05d61cf7637c43c5844c55f0512 /net/unix/af_unix.c
parent2b05db6b8a10df423d5478b20cadb1e190fa136f (diff)
batman-adv: store hard_iface as iflink private data
By passing the hard_iface to netdev_master_upper_dev_link() as private data, we can iterate over hardifs of a mesh interface more efficiently using netdev_for_each_lower_private*() (instead of iterating over the global hardif list). In addition, this will enable resolving a hardif from its netdev using netdev_lower_dev_get_private() and getting rid of the global list altogether in the following patches. A similar approach can be seen in the bonding driver. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> Signed-off-by: Sven Eckelmann <sven@narfation.org> Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions