[ovs-dev] [patch v2 6/7] datapath: Use rtnl_link_stats64
jesse at nicira.com
Fri Aug 20 19:43:13 UTC 2010
On Wed, Aug 18, 2010 at 11:36 PM, Simon Horman <horms at verge.net.au> wrote:
> This adds compatibility with a series kernel changesets that introduce 64bit
> statistics. The final changeset (to date) being
> "net: Document that dev_get_stats() returns the given pointer".
> The relevant changesets were added between 2.6.35 and 2.6.36-rc1.
> Signed-off-by: Simon Horman <horms at verge.net.au>
> Compile tested only
> Jesse Gross has suggested doing this with compat code,
> I will discuss that with him further.
I was thinking that this could be done neatly but you're right,
there's no clean way to do this without copying the members. It's not
worth it for a relatively contained #if. Thanks for keeping me
More information about the dev