Skip to content
Commit b089b3be authored by Dmitry Safonov's avatar Dmitry Safonov Committed by Paolo Abeni
Browse files

selftests/tcp_ao: Zero-init tcp_ao_info_opt



The structure is on the stack and has to be zero-initialized as
the kernel checks for:
>	if (in.reserved != 0 || in.reserved2 != 0)
>		return -EINVAL;

Fixes: b2666053 ("selftests/net: Add test for TCP-AO add setsockopt() command")
Signed-off-by: default avatarDmitry Safonov <0x7f454c46@gmail.com>
Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
parent 4225dfa4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment