diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2023-04-18 12:45:11 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2023-04-18 15:36:37 +0200 |
| commit | 8e54598ac1d60e494d927f72c4d8b99cb71661e1 (patch) | |
| tree | fdb5943e0aa9147c92043ed615c55b96a2cb6458 /sys/linux | |
| parent | 436577a9370c12a7aae3e7f30dcaec02e1c8b42e (diff) | |
sys/linux/test: add a regression test for sendmmsg bug
Add a regression test for:
https://github.com/torvalds/linux/commit/1c5950fc6fe996235f1d18539b9c6b64b597f50f
Diffstat (limited to 'sys/linux')
| -rw-r--r-- | sys/linux/test/sendmmsg | 4 |
1 files changed, 4 insertions, 0 deletions
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) |
