aboutsummaryrefslogtreecommitdiff
path: root/tools/net/ynl/generated/devlink-user.c
diff options
context:
space:
mode:
authorArseniy Krasnov <[email protected]>2023-11-22 00:16:42 +0300
committerJakub Kicinski <[email protected]>2023-11-23 08:49:16 -0800
commitf0863888f6cfef33e3117dccfe94fa78edf76be4 (patch)
treef30b84521a5394f699ae6dcfbf30fabd09abc21a /tools/net/ynl/generated/devlink-user.c
parent4e20655e503e3a478cd1682bf25e3202dd823da8 (diff)
vsock/test: fix SEQPACKET message bounds test
Tune message length calculation to make this test work on machines where 'getpagesize()' returns >32KB. Now maximum message length is not hardcoded (on machines above it was smaller than 'getpagesize()' return value, thus we get negative value and test fails), but calculated at runtime and always bigger than 'getpagesize()' result. Reproduced on aarch64 with 64KB page size. Fixes: 5c338112e48a ("test/vsock: rework message bounds test") Signed-off-by: Arseniy Krasnov <[email protected]> Reported-by: Bogdan Marcynkov <[email protected]> Reviewed-by: Stefano Garzarella <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/net/ynl/generated/devlink-user.c')
0 files changed, 0 insertions, 0 deletions