diff options
author | Sven Eckelmann <sven@narfation.org> | 2021-05-10 16:05:42 +0300 |
---|---|---|
committer | Simon Wunderlich <sw@simonwunderlich.de> | 2021-05-17 13:00:44 +0300 |
commit | d295345abb3e91e5a16f3293eb12b111e352bd2b (patch) | |
tree | 096e4a878336ee7c20d5abbbd9ca7f6cab0b80ca /.gitattributes | |
parent | 9a959cab22194d633b3a1d9d1943b0df3475122c (diff) | |
download | linux-d295345abb3e91e5a16f3293eb12b111e352bd2b.tar.xz |
batman-adv: Always send iface index+name in genlmsg
The batman-adv netlink messages often contain the interface index and
interface name in the same message. This makes it easy for the receiver to
operate on the incoming data when it either needs to print something or
needs to operate on the interface index.
But one of the attributes was missing for:
* neighbor table dumps
* originator table dumps
* gateway list dumps
* query of hardif information
* query of vid information
The userspace therefore had to implement special workarounds using
SIOCGIFNAME or SIOCGIFINDEX depending on what was actually provided.
Providing both information simplifies the userspace code massively without
adding a lot of extra overhead in the kernel portion.
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions