selftests: net: ip_local_port_range.c:152:17: error: use of undeclared identifier 'IPPROTO_MPTCP'

From: Naresh Kamboju
Date: Fri Feb 09 2024 - 05:56:19 EST


I encountered the following build errors while compiling the selftests net
test cases on Linux next-20240208 tag with clang toolchain.

Reported-by: Linux Kernel Functional Testing <lkft@xxxxxxxxxx>

selftests/net/ip_local_port_range
ip_local_port_range.c:152:17: error: use of undeclared identifier
'IPPROTO_MPTCP'
152 | .so_protocol = IPPROTO_MPTCP,
| ^
ip_local_port_range.c:176:17: error: use of undeclared identifier
'IPPROTO_MPTCP'
176 | .so_protocol = IPPROTO_MPTCP,
| ^
2 errors generated.

Build link,
- https://storage.tuxsuite.com/public/linaro/lkft/builds/2c4LtUoRSYhdGbErOY8hqHxc6Tu/

--
Linaro LKFT
https://lkft.linaro.org