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
fbca93e2ac
commit
61b590a78c
@ -1311,10 +1311,6 @@ tcp_output(struct tcpcb *tp)
|
||||
}
|
||||
#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 @@ tcp_output(struct tcpcb *tp)
|
||||
#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 New Issue
Block a user