[Bugme-new] [Bug 12425] New: Add 64bit interface for netlink counters

bugme-daemon at bugzilla.kernel.org bugme-daemon at bugzilla.kernel.org
Sun Jan 11 03:06:29 PST 2009


http://bugzilla.kernel.org/show_bug.cgi?id=12425

           Summary: Add 64bit interface for netlink counters
           Product: Networking
           Version: 2.5
     KernelVersion: 2.6.26
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Other
        AssignedTo: acme at ghostprotocols.net
        ReportedBy: norman at rasmussen.co.za


This is more of a feature request tracker, than a bug, but here we go:

Problem Description:

Currently the netlink statistics are limited to 32bit, but there have been
varied requests over the last few years to add a 64bit interface for
statistics.

Additionally it would be useful if the 64bit counters would work correctly on
both 32bit kernels (with magic locking required to make the double 32bit value
increment safely), and 64bit kernels (easy).

refs:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=199054
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=487543
http://marc.info/?l=linux-netdev&m=118415534518953
http://kerneltrap.org/mailarchive/linux-netdev/2008/2/13/844984/thread

Steps to reproduce:

Transfer more than 4gb on a 32bit machine.  Observe that ifconfig, iproute2 and
pppstats show interface stats as < 4gb.

(note that the netfilter team already have 64bit counters on their rules, so
this is not impractical)


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


More information about the Bugme-new mailing list