kernel-fxtec-pro1x/tools/testing
tannerlove 70dba6e91b selftests/net: in rxtimestamp getopt_long needs terminating null entry
[ Upstream commit 865a6cbb2288f8af7f9dc3b153c61b7014fdcf1e ]

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

Fixes: 16e7812241 ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-06-22 09:05:06 +02:00
..
fault-injection
ktest ktest: Add timeout for ssh sync testing 2020-03-18 07:14:20 +01:00
nvdimm
radix-tree
scatterlist
selftests selftests/net: in rxtimestamp getopt_long needs terminating null entry 2020-06-22 09:05:06 +02:00
vsock