]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: sysfs: Fix /sys/class/net/<iface> path for statistics
authorBreno Leitao <leitao@debian.org>
Fri, 9 Feb 2024 09:55:18 +0000 (01:55 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 Feb 2024 08:24:53 +0000 (09:24 +0100)
commitd4053005d55a78641c8e26d82bb31d2aed944f8a
treee37d9e1a86bc5e91e135d2858fda2c5d23068189
parent050ad2ca0ac169dd9e552075d2c6af1bbb46534c
net: sysfs: Fix /sys/class/net/<iface> path for statistics

[ Upstream commit 5b3fbd61b9d1f4ed2db95aaf03f9adae0373784d ]

The Documentation/ABI/testing/sysfs-class-net-statistics documentation
is pointing to the wrong path for the interface.  Documentation is
pointing to /sys/class/<iface>, instead of /sys/class/net/<iface>.

Fix it by adding the `net/` directory before the interface.

Fixes: 6044f9700645 ("net: sysfs: document /sys/class/net/statistics/*")
Signed-off-by: Breno Leitao <leitao@debian.org>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Documentation/ABI/testing/sysfs-class-net-statistics