Skip to contentSkip to conversation

New: /proc/net/dev: reversed counter for network namespaces?

Bug 212317 Stephen Hemminger 1 participant 1 message Mar 17, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Begin forwarded message:

Date: Wed, 17 Mar 2021 14:14:36 +0000
From: [email protected]
To: [email protected]
Subject: [Bug 212317] New: /proc/net/dev: reversed counter for network namespaces?

https://bugzilla.kernel.org/show_bug.cgi?id=212317

            Bug ID: 212317
           Summary: /proc/net/dev: reversed counter for network
                    namespaces?
           Product: Networking
           Version: 2.5
    Kernel Version: 5.10.23
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Other
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

Hello.
Yesterday i extended my tmux status line to include all "network devices", and now i am looking at a line

RF:W~B~ wlp1s0~158/16 wg0~6/2 browse~8/124

which are /proc/net/dev devices (less in-namespace stuff) with non-0 byte counts.
wlp1s0 is the sole connection to the internet, and browse is a network namespace that boxes graphical browser usage, and can only access the internet, no local services (but DNS).

As you can see it states it has send 124 MiB and receives 8 MiB, which i deem wrong, especially since the entire up/downstream bytes of wlp1s0 state something different. Could it be the counts are reversed?

Thank you!!

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.