[Bug 1018624] Re: documentation error in man 7 rtnetlink
Justin Cormack
1018624 at bugs.launchpad.net
Sun Jul 15 08:57:05 UTC 2012
This man page is also missing a lot of stuff. I think I may just do a
large patch for upstream once I have worked everything out. I would mark
as low importance, but leave open until man page is useful!
--
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:
New
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