[Bug 1018624] Re: documentation error in man 7 rtnetlink
Stéphane Aulery
lkppo at free.fr
Sun Mar 15 20:09:04 UTC 2015
Hello Justin,
This bug have been fixed since 2012-11-11 [1]. If you don't intend to
update extensively this man page, we can close this bug as fixed.
Upstream have some FIXME in man pages code [2]. Contribute directly to
upstream please, we need contributors !!!, or had a FIXME to [2] that
explain what to do.
Thans for yours help,
--
Stéphane Aulery
[1] https://git.kernel.org/cgit/docs/man-pages/man-pages.git/commit/?id=3036baf00ee7f7ba4c8dcccd12b131a832ccdf61
[2] https://git.kernel.org/cgit/docs/man-pages/man-pages.git/tree/man7/rtnetlink.7
** Changed in: manpages (Ubuntu)
Status: Confirmed => In Progress
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to manpages in Ubuntu.
https://bugs.launchpad.net/bugs/1018624
Title:
documentation error in man 7 rtnetlink
Status in manpages package in Ubuntu:
In Progress
Status in manpages package in Debian:
Unknown
Bug description:
man 7 rtnetlink says
"The value type for IFLA_STATS is struct net_device_stats."
However this is not the case. After some fruitless coding I discovered
that it is actually struct rtnl_link_stats. These structs happen to be
the same on 32 bit architectures (as net_device_stats is defined as
longs) but not on 64 bit architectures. And the size of the struct
sent is always that of rtnl_link_stats, and there are a few comments
about this around, but a lot of confusion due to the man page error.
Should be able to verify from the kernel source too, but dont have a
reference sorry.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: manpages 3.35-0.1ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-24.39-generic 3.2.16
Uname: Linux 3.2.0-24-generic x86_64
ApportVersion: 2.0.1-0ubuntu8
Architecture: amd64
Date: Wed Jun 27 23:19:37 2012
Dependencies:
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120328)
PackageArchitecture: all
ProcEnviron:
LANGUAGE=en_GB:en
TERM=xterm
PATH=(custom, no user)
LANG=en_GB.UTF-8
SHELL=/bin/bash
SourcePackage: manpages
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/manpages/+bug/1018624/+subscriptions
More information about the foundations-bugs
mailing list