OSDN Git Service

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)
commit67953d47bb24e63d209705f745a0de411a4c6578
tree4c8eea80b7c24c08766f395e0b3ce7b5045f048b
parentaad9c8c470f2a8321a99eb053630ce0e199558d6
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