]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r352231:
authorAlan Somers <asomers@FreeBSD.org>
Mon, 16 Sep 2019 00:59:10 +0000 (00:59 +0000)
committerAlan Somers <asomers@FreeBSD.org>
Mon, 16 Sep 2019 00:59:10 +0000 (00:59 +0000)
commit4ad2445a0c7d1d7a7f074750a4b4cf0ff3e5d192
treec281cb1c4f3a02eb9bdb320afca55c2dabc1f089
parente88291e3875fbbada978b1e95758b101195b918d
MFC r352231:

getsockopt.2: clarify that SO_TIMESTAMP is not 100% reliable

When SO_TIMESTAMP is set, the kernel will attempt to attach a timestamp as
ancillary data to each IP datagram that is received on the socket. However,
it may fail, for example due to insufficient memory. In that case the
packet will still be received but not timestamp will be attached.

Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D21607
lib/libc/sys/getsockopt.2