]> git.baikalelectronics.ru Git - kernel.git/commit
net: fix documentation of struct scm_timestamping
authorMiroslav Lichvar <mlichvar@redhat.com>
Fri, 19 May 2017 15:52:39 +0000 (17:52 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 21 May 2017 17:37:32 +0000 (13:37 -0400)
commit5b926ff61864cbb1494db086c0cd7843dc8c2863
tree4c8eea80b7c24c08766f395e0b3ce7b5045f048b
parent5a0a696b7f22f1822f37c65e0e996efc6f4c5000
net: fix documentation of struct scm_timestamping

The scm_timestamping struct may return multiple non-zero fields, e.g.
when both software and hardware RX timestamping is enabled, or when the
SO_TIMESTAMP(NS) option is combined with SCM_TIMESTAMPING and a false
software timestamp is generated in the recvmsg() call in order to always
return a SCM_TIMESTAMP(NS) message.

CC: Richard Cochran <richardcochran@gmail.com>
CC: Willem de Bruijn <willemb@google.com>
Signed-off-by: Miroslav Lichvar <mlichvar@redhat.com>
Acked-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/networking/timestamping.txt