From 86775164019fad5b01da83973d7bdc2a4a7cca70 Mon Sep 17 00:00:00 2001 From: bryanv Date: Sat, 8 Nov 2014 02:53:55 +0000 Subject: MFC r272844: Add missing UDP multicast receive dtrace probes --- sys/netinet/udp_usrreq.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sys/netinet') diff --git a/sys/netinet/udp_usrreq.c b/sys/netinet/udp_usrreq.c index 8c844e3..156cf10 100644 --- a/sys/netinet/udp_usrreq.c +++ b/sys/netinet/udp_usrreq.c @@ -566,6 +566,8 @@ udp_input(struct mbuf *m, int off) struct mbuf *n; if ((n = m_copy(m, 0, M_COPYALL)) != NULL) { + UDP_PROBE(receive, NULL, last, ip, + last, uh); udp_append(last, ip, n, iphlen, &udp_in); } @@ -597,6 +599,7 @@ udp_input(struct mbuf *m, int off) INP_INFO_RUNLOCK(pcbinfo); goto badunlocked; } + UDP_PROBE(receive, NULL, last, ip, last, uh); udp_append(last, ip, m, iphlen, &udp_in); INP_RUNLOCK(last); INP_INFO_RUNLOCK(pcbinfo); -- cgit v1.1