]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
UBUNTU: SAUCE: selftests: net: replace AF_MAX with INT_MAX in socket.c
authorMarcelo Henrique Cerri <marcelo.cerri@canonical.com>
Thu, 24 Jan 2019 19:21:45 +0000 (17:21 -0200)
committerAndrea Righi <andrea.righi@canonical.com>
Mon, 25 Nov 2019 13:56:36 +0000 (14:56 +0100)
commite9b81b7c8fa4898020ce7c5abc9a6b1239a5ec81
treeb9b23289bb8d2c5929424c3933808571ee48bec0
parent94a0f0dce381f2ed49dd33ca1b985adc3f58b716
UBUNTU: SAUCE: selftests: net: replace AF_MAX with INT_MAX in socket.c

Use INT_MAX instead of AF_MAX, since libc might have a smaller value
of AF_MAX than the kernel, what causes the test to fail.

Signed-off-by: Marcelo Henrique Cerri <marcelo.cerri@canonical.com>
tools/testing/selftests/net/socket.c