Revision 0071d15517b4a3d265abc00395beb1138e7236c7 authored by Kuniyuki Iwashima on 11 September 2023, 18:36:58 UTC, committed by David S. Miller on 13 September 2023, 06:18:04 UTC
The selftest passes the IPv6 address length for an IPv4 address.
We should pass the correct length.

Note inet_bind_sk() does not check if the size is larger than
sizeof(struct sockaddr_in), so there is no real bug in this
selftest.

Fixes: 13715acf8ab5 ("selftest: Add test for bind() conflicts.")
Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent c48ef9c
History
File Mode Size
alloc
bindings
kernel
macros
uapi
.gitignore -rw-r--r-- 202 bytes
Makefile -rw-r--r-- 19.3 KB
bindgen_parameters -rw-r--r-- 691 bytes
build_error.rs -rw-r--r-- 1.3 KB
compiler_builtins.rs -rw-r--r-- 2.0 KB
exports.c -rw-r--r-- 862 bytes
helpers.c -rw-r--r-- 4.6 KB

back to top