summaryrefslogtreecommitdiffstats
path: root/sys/netinet
diff options
context:
space:
mode:
authorbryanv <bryanv@FreeBSD.org>2014-11-08 02:53:55 +0000
committerbryanv <bryanv@FreeBSD.org>2014-11-08 02:53:55 +0000
commit86775164019fad5b01da83973d7bdc2a4a7cca70 (patch)
treef009bd715d45c22f06fe7362c1334109d037f15d /sys/netinet
parent018ace964f7d4ab0ebf5870b68f595bfd5a515a9 (diff)
downloadFreeBSD-src-86775164019fad5b01da83973d7bdc2a4a7cca70.zip
FreeBSD-src-86775164019fad5b01da83973d7bdc2a4a7cca70.tar.gz
MFC r272844:
Add missing UDP multicast receive dtrace probes
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/udp_usrreq.c3
1 files changed, 3 insertions, 0 deletions
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);
OpenPOWER on IntegriCloud