diff options
author | Ido Schimmel <idosch@nvidia.com> | 2023-10-25 15:30:18 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-10-27 12:51:42 +0300 |
commit | ddd17a54e692bef1b646febf5242db10982e1965 (patch) | |
tree | 6eb43be81a753bbe65064e88c82b2e6ff565d21d /tools/testing/selftests/net/forwarding | |
parent | 32d9673e96dc636cbfca2381b2c93b7a15dc3369 (diff) | |
download | linux-ddd17a54e692bef1b646febf5242db10982e1965.tar.xz |
rtnetlink: Add MDB get support
Now that both the bridge and VXLAN drivers implement the MDB get net
device operation, expose the functionality to user space by registering
a handler for RTM_GETMDB messages. Derive the net device from the
ifindex specified in the ancillary header and invoke its MDB get NDO.
Note that unlike other get handlers, the allocation of the skb
containing the response is not performed in the common rtnetlink code as
the size is variable and needs to be determined by the respective
driver.
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Acked-by: Nikolay Aleksandrov <razor@blackwall.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/net/forwarding')
0 files changed, 0 insertions, 0 deletions