diff options
| author | Geliang Tang <[email protected]> | 2022-05-19 23:30:15 +0000 |
|---|---|---|
| committer | Andrii Nakryiko <[email protected]> | 2022-05-20 22:36:08 +0000 |
| commit | ccc090f469000fd757049028eeb0dff43013f7c1 (patch) | |
| tree | 2c49dbc78c86570fd271d88e06685d88d6c591d0 /net/unix/af_unix.c | |
| parent | selftests/bpf: Verify token of struct mptcp_sock (diff) | |
| download | kernel-ccc090f469000fd757049028eeb0dff43013f7c1.tar.gz kernel-ccc090f469000fd757049028eeb0dff43013f7c1.zip | |
selftests/bpf: Verify ca_name of struct mptcp_sock
This patch verifies another member of struct mptcp_sock, ca_name. Add a
new function get_msk_ca_name() to read the sysctl tcp_congestion_control
and verify it in verify_msk().
v3: Access the sysctl through the filesystem to avoid compatibility
issues with the busybox sysctl command.
v4: use ASSERT_* instead of CHECK_FAIL (Andrii)
v5: use ASSERT_STRNEQ() instead of strncmp() (Andrii)
Signed-off-by: Geliang Tang <[email protected]>
Signed-off-by: Mat Martineau <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Acked-by: Matthieu Baerts <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
