lkml.org 
[lkml]   [2020]   [Mar]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH net] selftests/net: add definition for SOL_DCCP to fix compilation errors for old libc
From
From: Alan Maguire <alan.maguire@oracle.com>
Date: Wed, 18 Mar 2020 18:53:21 +0000

> 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>

Applied.

\
 
 \ /
  Last update: 2020-03-22 04:23    [W:0.035 / U:0.712 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site