diff options
author | tannerlove <tannerlove@google.com> | 2020-06-10 00:21:32 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-06-10 00:31:33 +0300 |
commit | 865a6cbb2288f8af7f9dc3b153c61b7014fdcf1e (patch) | |
tree | a887b5bc589ed6af7a7c0d9331b28092cb37a0a0 /include/net/flow_offload.h | |
parent | 62a502cc91f97e3ffd312d9b42e8d01a137c63ff (diff) | |
download | linux-865a6cbb2288f8af7f9dc3b153c61b7014fdcf1e.tar.xz |
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>
Diffstat (limited to 'include/net/flow_offload.h')
0 files changed, 0 insertions, 0 deletions