HomeFreeBSD

if_awg: only increment IFCOUNTER_OPACKETS when the last segment of a frame has…

Description

if_awg: only increment IFCOUNTER_OPACKETS when the last segment of a frame has been successfully transmitted

A packet may be built from multiple segments, don't increase the count for each segment

Submitted by: Guy Yur <guyyur@gmail.com>
Differential Revision: https://reviews.freebsd.org/D13032