]> git.hungrycats.org Git - linux/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 07:55:02 +0000 (08:55 +0100)
commit9bc718f6a56a12c4d9b71493dd7f2c1fedd51ffb
tree90ab51822a4b821700f4dd9165b684a81fbfe58a
parentd14b8e2005f36319df9412d42037416d64827f6b
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