]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r336551:
authortuexen <tuexen@FreeBSD.org>
Sun, 5 May 2019 12:32:47 +0000 (12:32 +0000)
committertuexen <tuexen@FreeBSD.org>
Sun, 5 May 2019 12:32:47 +0000 (12:32 +0000)
commit264399be04b6d62f7454db653bbb72067f46972b
tree46e94ce85ca87b33a9a3b1d348d4e4b48fa1aac2
parentb0c81e378bd3d4cb7d4050ea54208693aedfff96
MFC r336551:
Add missing dtrace probes for received UDP packets.

Fire UDP receive probes when a packet is received and there is no
endpoint consuming it. Fire the probe also if the TTL of the
received packet is smaller than the minimum required by the endpoint.

Clarify also in the man page, when the probe fires.

Reviewed by: dteske@, markj@, rrs@
Sponsored by: Netflix, Inc.
Differential Revision: https://reviews.freebsd.org/D16046
share/man/man4/dtrace_udp.4
sys/netinet/udp_usrreq.c
sys/netinet6/udp6_usrreq.c