]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net/hsr: add interlink to fill_info output
authorJan Vaclav <jvaclav@redhat.com>
Wed, 15 Oct 2025 10:10:02 +0000 (12:10 +0200)
committerJakub Kicinski <kuba@kernel.org>
Thu, 16 Oct 2025 22:52:10 +0000 (15:52 -0700)
commitf18c231fb12a9662bb9ebd7613e8f71fc497baf1
treed206fd3092e925146c758cc14d5c65d080fd48dc
parente1048520750dd9369ec97554ab308ff1ff932ec6
net/hsr: add interlink to fill_info output

Currently, it is possible to configure the interlink
port, but no way to read it back from userspace.

Add it to the output of hsr_fill_info(), so it can be
read from userspace, for example:

$ ip -d link show hsr0
12: hsr0: <BROADCAST,MULTICAST> mtu ...
...
hsr slave1 veth0 slave2 veth1 interlink veth2 ...

Signed-off-by: Jan Vaclav <jvaclav@redhat.com>
Reviewed-by: Fernando Fernandez Mancera <fmancera@suse.de>
Link: https://patch.msgid.link/20251015101001.25670-2-jvaclav@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/hsr/hsr_netlink.c