diff options
| author | Dmitry Safonov <[email protected]> | 2024-04-13 01:42:53 +0000 |
|---|---|---|
| committer | Paolo Abeni <[email protected]> | 2024-04-16 11:35:05 +0000 |
| commit | b089b3bead532419cdcbd8e4e0a3e23c49d11573 (patch) | |
| tree | 27f9566f964fc7116eaa457fbbd9fac4ff18f371 /net/unix/af_unix.c | |
| parent | selftests/tcp_ao: Make RST tests less flaky (diff) | |
| download | kernel-b089b3bead532419cdcbd8e4e0a3e23c49d11573.tar.gz kernel-b089b3bead532419cdcbd8e4e0a3e23c49d11573.zip | |
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: b26660531cf6 ("selftests/net: Add test for TCP-AO add setsockopt() command")
Signed-off-by: Dmitry Safonov <[email protected]>
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
