Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F112055001
D924.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
998 B
Referenced Files
None
Subscribers
None
D924.diff
View Options
Index: sys/netinet/udp_usrreq.c
===================================================================
--- sys/netinet/udp_usrreq.c
+++ sys/netinet/udp_usrreq.c
@@ -576,6 +576,8 @@
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);
}
@@ -607,6 +609,7 @@
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);
Index: sys/netinet6/udp6_usrreq.c
===================================================================
--- sys/netinet6/udp6_usrreq.c
+++ sys/netinet6/udp6_usrreq.c
@@ -370,6 +370,8 @@
if ((n = m_copy(m, 0, M_COPYALL)) != NULL) {
INP_RLOCK(last);
+ UDP_PROBE(receive, NULL, last, ip6,
+ last, uh);
udp6_append(last, n, off, &fromsa);
INP_RUNLOCK(last);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Mar 13, 4:32 AM (15 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17130025
Default Alt Text
D924.diff (998 B)
Attached To
Mode
D924: Add missing dtrace UDP multicast receive probes
Attached
Detach File
Event Timeline
Log In to Comment