diff options
author | Alan Maguire <alan.maguire@oracle.com> | 2020-03-18 21:53:21 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-03-22 06:23:10 +0300 |
commit | 83a9b6f639e9f6b632337f9776de17d51d969c77 (patch) | |
tree | 89a82f7ecbe66fc9ca16fa157f9e403adc3ccd19 /net/ipv4/tcp.c | |
parent | 9a9ba2a4aaaa4e75a5f118b8ab642a55c34f95cb (diff) | |
download | linux-83a9b6f639e9f6b632337f9776de17d51d969c77.tar.xz |
selftests/net: add definition for SOL_DCCP to fix compilation errors for old libc
Many systems build/test up-to-date kernels with older libcs, and
an older glibc (2.17) lacks the definition of SOL_DCCP in
/usr/include/bits/socket.h (it was added in the 4.6 timeframe).
Adding the definition to the test program avoids a compilation
failure that gets in the way of building tools/testing/selftests/net.
The test itself will work once the definition is added; either
skipping due to DCCP not being configured in the kernel under test
or passing, so there are no other more up-to-date glibc dependencies
here it seems beyond that missing definition.
Fixes: 11fb60d1089f ("selftests: net: reuseport_addr_any: add DCCP")
Signed-off-by: Alan Maguire <alan.maguire@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp.c')
0 files changed, 0 insertions, 0 deletions