]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Increment the corresponding UDP stats counter (udps_opackets) when
authorMichael Tuexen <tuexen@FreeBSD.org>
Sun, 30 Sep 2018 12:16:06 +0000 (12:16 +0000)
committerMichael Tuexen <tuexen@FreeBSD.org>
Sun, 30 Sep 2018 12:16:06 +0000 (12:16 +0000)
commitae0a9a88504a1a2adb6ff3ab3a5d83084540087b
treec91ecf5e508deb4fcc7c0f62d4ed672499695e44
parent916023bda93374d9d76a10e15eaaade8b77ab5bc
Increment the corresponding UDP stats counter (udps_opackets) when
sending UDP encapsulated SCTP packets.
This is consistent with the behaviour that when such packets are received,
the corresponding UDP stats counter (udps_ipackets) is incremented.
Thanks to Peter Lei for making me aware of this inconsistency.

Approved by:            re (kib@)
MFC after:              1 week
sys/netinet/sctp_output.c