Home
last modified time | relevance | path

Searched hist:"865 a6cbb2288f8af7f9dc3b153c61b7014fdcf1e" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/tools/testing/selftests/net/
H A Drxtimestamp.cdiff 865a6cbb2288f8af7f9dc3b153c61b7014fdcf1e Tue Jun 09 16:21:32 CDT 2020 tannerlove <tannerlove@google.com> selftests/net: in rxtimestamp getopt_long needs terminating null entry

getopt_long requires the last element to be filled with zeros.
Otherwise, passing an unrecognized option can cause a segfault.

Fixes: 16e781224198 ("selftests/net: Add a test to validate behavior of rx timestamps")
Signed-off-by: Tanner Love <tannerlove@google.com>
Acked-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>