[Bug 294581] IFCOUNTER_IBYTES wrong likely due to mbuf length? (observed in netstat)

[email protected]
Newsgroups gmane.os.freebsd.devel.net
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294581

Bjoern A. Zeeb <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |Open
             Blocks|                            |283171
            Summary|netstat -w 1 gets           |IFCOUNTER_IBYTES wrong
                   |(negative|wrong) numbers    |likely due to mbuf length?
                   |(ibytes)                    |(observed in netstat)
           Assignee|[email protected]             |[email protected]
          Component|bin                         |wireless
                 CC|                            |[email protected]

--- Comment #2 from Bjoern A. Zeeb <[email protected]> ---
(In reply to Dag-Erling Smørgrav from comment #1)

don't even to do this in a while loop:

wlan890  1500 <Link#5>  ...   1102449    34     0  18446740827450661399  
390452     3              33904645     0
wlan891  1500 <Link#6>  ...   1085275     7     0  18446743698110949839  
370536   572              32096113     0
wlan892  1500 <Link#7>  ...   1104694    32     0  18446741334487541747  
387605     3              33603577     0
wlan893  1500 <Link#8>  ...   1090814    31     0  18446740812353146766  
367426    40              31764339     0

I don't see any IFCOUNTER_IBYTES in net80211 so this is likely in sys/net/if*
somewhere and then it must be related to mbufs and their length.  That's going
to be fun to diagnose.

I'll re-title the PR and take it.

I'd suggest with the shifted problem domain, to trim yourself from the Cc:
list.


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283171
[Bug 283171] net80211 PRs
-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.