Page MenuHomeFreeBSD

Provide a dead version of if_get_counter.
ClosedPublic

Authored by jhb on Dec 8 2014, 8:29 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Oct 2, 10:10 AM
Unknown Object (File)
Wed, Sep 30, 4:32 PM
Unknown Object (File)
Wed, Sep 30, 1:48 PM
Unknown Object (File)
Sep 13 2026, 6:07 AM
Unknown Object (File)
Sep 10 2026, 8:56 PM
Unknown Object (File)
Sep 9 2026, 6:25 PM
Unknown Object (File)
Sep 5 2026, 10:02 PM
Unknown Object (File)
Sep 5 2026, 1:37 PM
Subscribers
None

Details

Reviewers
glebius
Test Plan

Configure a T4/T5 interface and run 'netstat -hwd 1' in one window while
doing 'kldunload if_cxgbe' in another. This triggers a panic in
if_data_copy(). This patch doesn't remove the panic entirely, but it
does seem to help it occur less often.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

jhb retitled this revision from to Provide a dead version of if_get_counter..
jhb updated this object.
jhb edited the test plan for this revision. (Show Details)
jhb added a reviewer: glebius.
glebius edited edge metadata.

Ok from me. Anyway in my new ifnet branch if_dead goes away.

This revision is now accepted and ready to land.Dec 9 2014, 8:35 AM

Forgot to note in the commit log. This was committed in r275730.