diff options
author | gnn <gnn@FreeBSD.org> | 2016-03-03 17:46:38 +0000 |
---|---|---|
committer | gnn <gnn@FreeBSD.org> | 2016-03-03 17:46:38 +0000 |
commit | 0099e626eeeb0a9dda436a585e01583cd6bed416 (patch) | |
tree | affd5288b88fd285aef3650dba814baa0220a030 /sys/netinet/tcp_subr.c | |
parent | 5ccfe7c60327c42d9f61f2ae684c6b9b1bf74292 (diff) | |
download | FreeBSD-src-0099e626eeeb0a9dda436a585e01583cd6bed416.zip FreeBSD-src-0099e626eeeb0a9dda436a585e01583cd6bed416.tar.gz |
Fix dtrace probes (introduced in 287759): debug__input was used
for output and drop; connect didn't always fire a user probe
some probes were missing in fastpath
Submitted by: Hannes Mehnert
Sponsored by: REMS, EPSRC
Differential Revision: https://reviews.freebsd.org/D5525
Diffstat (limited to 'sys/netinet/tcp_subr.c')
-rw-r--r-- | sys/netinet/tcp_subr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c index ddbd129..620e446 100644 --- a/sys/netinet/tcp_subr.c +++ b/sys/netinet/tcp_subr.c @@ -1026,7 +1026,7 @@ tcp_respond(struct tcpcb *tp, void *ipgen, struct tcphdr *th, struct mbuf *m, if (tp == NULL || (inp->inp_socket->so_options & SO_DEBUG)) tcp_trace(TA_OUTPUT, 0, tp, mtod(m, void *), th, 0); #endif - TCP_PROBE3(debug__input, tp, th, mtod(m, const char *)); + TCP_PROBE3(debug__output, tp, th, mtod(m, const char *)); if (flags & TH_RST) TCP_PROBE5(accept__refused, NULL, NULL, mtod(m, const char *), tp, nth); |