mirror of
https://github.com/opnsense/src.git
synced 2026-04-29 18:32:49 -04:00
Move the TCP Blackbox Recorder probe in tcp_output.c to be with the
other tracing/debugging code. Sponsored by: Netflix, Inc.
This commit is contained in:
parent
4889b58ce8
commit
dcaffbd6fb
1 changed files with 4 additions and 4 deletions
|
|
@ -1311,10 +1311,6 @@ send:
|
|||
}
|
||||
#endif
|
||||
|
||||
/* We're getting ready to send; log now. */
|
||||
TCP_LOG_EVENT(tp, th, &so->so_rcv, &so->so_snd, TCP_LOG_OUT, ERRNO_UNK,
|
||||
len, NULL, false);
|
||||
|
||||
/*
|
||||
* Enable TSO and specify the size of the segments.
|
||||
* The TCP pseudo header checksum is always provided.
|
||||
|
|
@ -1363,6 +1359,10 @@ send:
|
|||
#endif /* TCPDEBUG */
|
||||
TCP_PROBE3(debug__output, tp, th, m);
|
||||
|
||||
/* We're getting ready to send; log now. */
|
||||
TCP_LOG_EVENT(tp, th, &so->so_rcv, &so->so_snd, TCP_LOG_OUT, ERRNO_UNK,
|
||||
len, NULL, false);
|
||||
|
||||
/*
|
||||
* Fill in IP length and desired time to live and
|
||||
* send to IP level. There should be a better way
|
||||
|
|
|
|||
Loading…
Reference in a new issue