]> git.baikalelectronics.ru Git - kernel.git/commit
net: Improve SO_TIMESTAMPING documentation and fix a minor code bug
authorAndrew Lutomirski <luto@amacapital.net>
Wed, 5 Mar 2014 01:24:10 +0000 (17:24 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 6 Mar 2014 21:18:01 +0000 (16:18 -0500)
commit8721733b7a24187e9daa54a83405ba50c10458b9
tree3e7991d42d84176a64aa1f42b1fe674f64eb560d
parentd89e9735cf2752ac3efc8c6f163984f9c258978b
net: Improve SO_TIMESTAMPING documentation and fix a minor code bug

The original documentation was very unclear.

The code fix is presumably related to the formerly unclear
documentation: SOCK_TIMESTAMPING_RX_SOFTWARE has no effect on
__sock_recv_timestamp's behavior, so calling __sock_recv_ts_and_drops
from sock_recv_ts_and_drops if only SOCK_TIMESTAMPING_RX_SOFTWARE is
set is pointless.  This should have no user-observable effect.

Signed-off-by: Andy Lutomirski <luto@amacapital.net>
Acked-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/networking/timestamping.txt
include/net/sock.h