CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]        2015/10/05 13:05:09

Modified files:
        sys/net        : if.c if_bridge.c if_ppp.c if_spppsubr.c 
                         if_vlan.c 
        sys/net80211   : ieee80211_pae_output.c 
        sys/netinet    : ip_carp.c 

Log message:
Revert if_oqdrops accounting changes done in kernel, per request from mpi@.

(Especially adding IF_DROP() after IFQ_ENQUEUE() was completely wrong because
IFQ_ENQUEUE() already does it.  Oops.)

After this revert, the situation becomes:

- if_snd.ifq_drops is incremented in either IFQ_ENQUEUE() or IF_DROP(), but
it is not shown to userland, and

- if_data.ifi_oqdrops is shown to userland, but it is not incremented by
anyone.

Reply via email to