From 8e54598ac1d60e494d927f72c4d8b99cb71661e1 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Tue, 18 Apr 2023 12:45:11 +0200 Subject: sys/linux/test: add a regression test for sendmmsg bug Add a regression test for: https://github.com/torvalds/linux/commit/1c5950fc6fe996235f1d18539b9c6b64b597f50f --- sys/linux/test/sendmmsg | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 sys/linux/test/sendmmsg (limited to 'sys') diff --git a/sys/linux/test/sendmmsg b/sys/linux/test/sendmmsg new file mode 100644 index 000000000..c9c7a4653 --- /dev/null +++ b/sys/linux/test/sendmmsg @@ -0,0 +1,4 @@ +# Regression test for https://github.com/torvalds/linux/commit/1c5950fc6fe996235f1d18539b9c6b64b597f50f + +r0 = socket$inet6(AUTO, 0x2, 0x0) +sendmmsg$inet6(r0, &AUTO=[{{&AUTO={AUTO, 0x4e20, 0x0, @ipv4={"00000000000000000000", "ffff", @loopback=AUTO}, 0x0}, AUTO, &AUTO=[{&AUTO="aabbcc", AUTO}], AUTO, 0x0, AUTO, 0x0}, 0x0}, {{&AUTO={AUTO, 0x4e20, 0x0, @ipv4={"00000000000000000000", "ffff", @loopback=AUTO}, 0x0}, AUTO, &AUTO=[{&AUTO="aabbcc", AUTO}], AUTO, 0x0, AUTO, 0x0}, 0x0}], AUTO, 0x0) -- cgit mrf-deployment