HomeFreeBSD

tcp: improve BBLog for output events when using the FreeBSD stack

Description

tcp: improve BBLog for output events when using the FreeBSD stack

Put the return value of ip_output()/ip6_output in the output event
instead of adding another one in case of an error. This improves
consistency with other similar places.

Reviewed by: rscheff
Sponsored by: Netflix, Inc.
Differential Revision: https://reviews.freebsd.org/D36085

(cherry picked from commit bd30a1216e03e14cfaa7e91b1fc72ad76e9cd240)

Details

Provenance
tuexenAuthored on Aug 8 2022, 11:07 AM
Reviewer
rscheff
Differential Revision
D36085: tcp: log errno in BBLog output event
Parents
rGcb15bf432533: sctp: improve handling of send() calls with no user data`
Branches
Unknown
Tags
Unknown