aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/socket.c
diff options
context:
space:
mode:
authorWei Wang <[email protected]>2019-10-31 23:24:36 +0000
committerDavid S. Miller <[email protected]>2019-11-01 22:11:02 +0000
commitd64479a3e3f9924074ca7b50bd72fa5211dca9c1 (patch)
treebca6f9227ccfc04d904e23cda3f8f6b4eac53dcc /net/tipc/socket.c
parentr8169: fix wrong PHY ID issue with RTL8168dp (diff)
downloadkernel-d64479a3e3f9924074ca7b50bd72fa5211dca9c1.tar.gz
kernel-d64479a3e3f9924074ca7b50bd72fa5211dca9c1.zip
selftests: net: reuseport_dualstack: fix uninitalized parameter
This test reports EINVAL for getsockopt(SOL_SOCKET, SO_DOMAIN) occasionally due to the uninitialized length parameter. Initialize it to fix this, and also use int for "test_family" to comply with the API standard. Fixes: d6a61f80b871 ("soreuseport: test mixed v4/v6 sockets") Reported-by: Maciej Żenczykowski <[email protected]> Signed-off-by: Eric Dumazet <[email protected]> Signed-off-by: Wei Wang <[email protected]> Cc: Craig Gallek <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tipc/socket.c')
0 files changed, 0 insertions, 0 deletions