diff options
author | Paolo Abeni <pabeni@redhat.com> | 2024-12-05 11:39:36 +0100 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2024-12-05 11:39:36 +0100 |
commit | 0e21a47c8303f9cc2efe0495f58c2b1ff76080a5 (patch) | |
tree | 4824227ceb3657fbbccdab4ea9d6d0a20a7e7c10 /include | |
parent | 4615855ea8c42aff76cc7772509445dc80bcd917 (diff) | |
parent | 86814d8ffd55fd4ad19c512eccd721522a370fb2 (diff) | |
download | linux-0e21a47c8303f9cc2efe0495f58c2b1ff76080a5.tar.gz linux-0e21a47c8303f9cc2efe0495f58c2b1ff76080a5.tar.bz2 linux-0e21a47c8303f9cc2efe0495f58c2b1ff76080a5.zip |
Merge branch 'vsock-test-fix-wrong-setsockopt-parameters'
Konstantin Shkolnyy says:
====================
vsock/test: fix wrong setsockopt() parameters
Parameters were created using wrong C types, which caused them to be of
wrong size on some architectures, causing problems.
The problem with SO_RCVLOWAT was found on s390 (big endian), while x86-64
didn't show it. After the fix, all tests pass on s390.
Then Stefano Garzarella pointed out that SO_VM_SOCKETS_* calls might have
a similar problem, which turned out to be true, hence, the second patch.
Changes for v8:
- Fix whitespace warnings from "checkpatch.pl --strict"
- Add maintainers to Cc:
Changes for v7:
- Rebase on top of https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git
- Add the "net" tags to the subjects
Changes for v6:
- rework the patch #3 to avoid creating a new file for new functions,
and exclude vsock_perf from calling the new functions.
- add "Reviewed-by:" to the patch #2.
Changes for v5:
- in the patch #2 replace the introduced uint64_t with unsigned long long
to match documentation
- add a patch #3 that verifies every setsockopt() call.
Changes for v4:
- add "Reviewed-by:" to the first patch, and add a second patch fixing
SO_VM_SOCKETS_* calls, which depends on the first one (hence, it's now
a patch series.)
Changes for v3:
- fix the same problem in vsock_perf and update commit message
Changes for v2:
- add "Fixes:" lines to the commit message
====================
Link: https://patch.msgid.link/20241203150656.287028-1-kshk@linux.ibm.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions