]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
selftests: expand txtimestamp with cmsg support
authorWillem de Bruijn <willemb@google.com>
Thu, 20 Dec 2018 21:22:52 +0000 (16:22 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 21 Dec 2018 01:01:16 +0000 (17:01 -0800)
commit7085f47fcdc599cb387a472e4cd9def739954119
tree0f11c2255a45422f9d93dfbd8d8ce7e6180f96ce
parenta6ae520defea9986a422032eda7f0bdbb1368a18
selftests: expand txtimestamp with cmsg support

Commit 3dd17e63f513 ("sock: accept SO_TIMESTAMPING flags in socket
cmsg") added support for passing tx timestamping options per-call
in sendmsg.

Expand the txtimestamp test with support for this feature.

Signed-off-by: Willem de Bruijn <willemb@google.com>
Acked-by: Soheil Hassas Yeganeh <soheil@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/networking/timestamping/txtimestamp.c