HomeFreeBSD

tcp: use TCPSTAT_INC in kernel ecn functions

Description

tcp: use TCPSTAT_INC in kernel ecn functions

Incorrectly used KMOD_ marco in static kernel ECN functions.

Both eventually resolve to counter_s64_add(), but better
use the correct macros.

Reviewed By: tuexen, transport
Sponsored by: NetApp, Inc.
Differential Revision: https://reviews.freebsd.org/D34181

Details

Provenance
rscheffAuthored on Feb 5 2022, 3:50 PM
Reviewer
transport
Differential Revision
D34181: change KMOD_TCPSTAT_INC to TCPSTAT_INC in kernel ecn functions
Parents
rGfc035df8af32: if_vtnet(4): Restore the ability to set promisc mode.
Branches
Unknown
Tags
Unknown