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)
commitadca4767821e54c72d4a2f467af77923f2c87e07
tree3e7991d42d84176a64aa1f42b1fe674f64eb560d
parent4ae6e50c76def306d726a5d2678e88998ad5258e
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