]> 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 07:42:23 +0000 (08:42 +0100)
commited8c87ac8afc63b190bd592fefec675f698c49fa
tree41bcc16d5b7a3eb59a40b019cf51b4fca6d2442a
parent4a98bc739d0753a5810ce5630943cd7614c7717e
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