android_kernel_sony_sdm845/tools/testing/selftests
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Wei Wang 43562e5296 selftests: net: reuseport_dualstack: fix uninitalized parameter
[ Upstream commit d64479a3e3f9924074ca7b50bd72fa5211dca9c1 ]

This test reports EINVAL for getsockopt(SOL_SOCKET, SO_DOMAIN)
occasionally due to the uninitialized length parameter.
Initialize it to fix this, and also use int for "test_family" to comply
with the API standard.

Fixes: d6a61f80b8 ("soreuseport: test mixed v4/v6 sockets")
Reported-by: Maciej Żenczykowski <maze@google.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Wei Wang <weiwan@google.com>
Cc: Craig Gallek <cgallek@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-11-10 11:23:25 +01:00
..
breakpoints selftests: add missing .gitignore file or entry 2016-02-25 13:16:36 -07:00
capabilities selftests/capabilities: Fix the test_execve test 2017-07-21 07:42:22 +02:00
cpu-hotplug selftests: create test-specific kconfig fragments 2016-02-25 09:47:52 -07:00
efivarfs selftests/efivarfs: add required kernel configs 2018-10-18 09:13:19 +02:00
exec selftests/exec: Makefile is a run-time dependency, add it to the install list 2016-06-15 13:35:55 -06:00
filesystems selftests: move dnotify_test from Documentation/filesystems 2016-09-20 09:09:00 -06:00
firmware test_firmware: fix setting old custom fw path back on exit, second try 2018-05-09 09:50:22 +02:00
ftrace selftests: ftrace: Add synthetic event syntax testcase 2018-11-13 11:16:48 -08:00
futex selftests/futex: Check ANSI terminal color support 2016-10-11 07:38:36 -06:00
ia64 selftests: move ia64 tests from Documentation/ia64 2016-09-20 09:58:12 -06:00
intel_pstate selftests/intel_pstate: Improve test, minor fixes 2018-08-03 07:55:15 +02:00
ipc selftests: add missing .gitignore file or entry 2016-02-25 13:16:36 -07:00
kcmp
kvm selftests: kvm: Adding config fragments 2019-09-06 10:19:36 +02:00
lib selftests/lib: set printf.sh executable 2016-06-27 13:17:14 -06:00
media_tests selftests: media_tests add a new video device test 2016-07-26 09:59:30 -06:00
membarrier membarrier: clean up selftest 2015-09-22 15:09:53 -07:00
memfd selftests: memfd: add config fragment for fuse 2018-05-30 07:50:27 +02:00
memory-hotplug selftests: memory-hotplug: add required configs 2018-10-18 09:13:20 +02:00
mount selftests: create test-specific kconfig fragments 2016-02-25 09:47:52 -07:00
mqueue selftests: Add missing #include directives 2015-11-03 16:53:53 -07:00
net selftests: net: reuseport_dualstack: fix uninitalized parameter 2019-11-10 11:23:25 +01:00
netfilter selftests: netfilter: missing error check when setting up veth interface 2019-06-22 08:17:22 +02:00
networking/timestamping selftests: Move networking/timestamping from Documentation 2016-09-20 09:59:50 -06:00
nsfs tools/testing: add a test to check nsfs ioctl-s 2016-09-22 19:59:41 -05:00
ntb ntb: ntb_test: ensure the link is up before trying to configure the mws 2017-08-30 10:21:55 +02:00
powerpc powerpc/selftests: Wait all threads to join 2018-11-21 09:25:57 +01:00
prctl selftests: move prctl tests from Documentation/prctl 2016-09-20 09:09:09 -06:00
pstore selftests: pstore: return Kselftest Skip code for skipped tests 2018-08-24 13:12:27 +02:00
ptp selftests: move ptp tests from Documentation/ptp 2016-09-20 09:54:38 -06:00
ptrace add ptrace/.gitignore 2016-01-07 13:38:11 -07:00
rcutorture rcutorture/configinit: Fix build directory error message 2018-03-22 09:17:58 +01:00
seccomp seccomp: Add filter flag to opt-out of SSB mitigation 2018-05-22 16:58:01 +02:00
sigaltstack signals/sigaltstack: Change SS_AUTODISARM to (1U << 31) 2016-05-04 08:34:14 +02:00
size
static_keys selftests: static_keys: return Kselftest Skip code for skipped tests 2018-08-24 13:12:27 +02:00
sync selftests: sync: add config fragment for testing sync framework 2018-08-24 13:12:27 +02:00
sysctl
timers selftests/timers: Add missing fflush(stdout) calls 2019-06-22 08:17:20 +02:00
user selftests: user: return Kselftest Skip code for skipped tests 2018-08-24 13:12:27 +02:00
vDSO selftests: move vDSO tests from Documentation/vDSO 2016-09-20 09:58:04 -06:00
vm kselftest: fix OOM in memory compaction test 2018-02-22 15:43:52 +01:00
watchdog selftests: move watchdog tests from Documentation/watchdog 2016-09-20 09:58:34 -06:00
x86 x86/selftests/pkeys: Fork() to check for state being preserved 2019-01-31 08:12:36 +01:00
zram selftests: zram: return Kselftest Skip code for skipped tests 2018-08-24 13:12:27 +02:00
gen_kselftest_tar.sh
kselftest.h
kselftest_install.sh
lib.mk selftests: change install command to rsync 2015-09-14 16:43:51 -06:00
Makefile selftests: add script to stress-test nft packet path vs. control plane 2018-12-17 09:38:32 +01:00