Re: [PATCH net] selftests/net: in rxtimestamp getopt_long needs terminating null entry

2020-06-09 Thread David Miller
From: Tanner Love Date: Tue, 9 Jun 2020 17:21:32 -0400 > From: tannerlove > > 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 > time

[PATCH net] selftests/net: in rxtimestamp getopt_long needs terminating null entry

2020-06-09 Thread Tanner Love
From: tannerlove 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 Acked-by: Willem de Bruijn --- to