commit | 0071d15517b4a3d265abc00395beb1138e7236c7 | [log] [tgz] |
---|---|---|
author | Kuniyuki Iwashima <kuniyu@amazon.com> | Mon Sep 11 11:36:58 2023 -0700 |
committer | David S. Miller <davem@davemloft.net> | Wed Sep 13 07:18:04 2023 +0100 |
tree | bde66fb6dca2b65778797a777145c0e28bd0ba1c | |
parent | c48ef9c4aed3632566b57ba66cec6ec78624d4cb [diff] |
selftest: tcp: Fix address length in bind_wildcard.c. 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>