summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/networking/timestamping/rxtimestamp.c
Commit message (Collapse)AuthorAgeFilesLines
* selftests/net: rxtimestamp: Fix an off by oneDan Carpenter2017-10-061-1/+1
| | | | | | | | | The > should be >= so that we don't write one element beyond the end of the array. Fixes: 16e781224198 ("selftests/net: Add a test to validate behavior of rx timestamps") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
* selftests/net: Add a test to validate behavior of rx timestampsMike Maloney2017-08-241-0/+389
Validate the behavior of the combination of various timestamp socket options, and ensure consistency across ip, udp, and tcp. Signed-off-by: Mike Maloney <maloney@google.com> Acked-by: Willem de Bruijn <willemb@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>