[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20111129.164941.864264311882171503.davem@davemloft.net>
Date: Tue, 29 Nov 2011 16:49:41 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: rdunlap@...otime.net
Cc: pmoore@...hat.com, netdev@...r.kernel.org,
linux-next@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] netlabel: Fix build problems when IPv6 is not
enabled
From: Randy Dunlap <rdunlap@...otime.net>
Date: Tue, 29 Nov 2011 14:00:04 -0800
> On 11/29/2011 12:10 PM, Paul Moore wrote:
>> A recent fix to the the NetLabel code caused build problem with
>> configurations that did not have IPv6 enabled; see below:
>>
>> netlabel_kapi.c: In function 'netlbl_cfg_unlbl_map_add':
>> netlabel_kapi.c:165:4:
>> error: implicit declaration of function 'netlbl_af6list_add'
>>
>> This patch fixes this problem by making the IPv6 specific code conditional
>> on the IPv6 configuration flags as we done in the rest of NetLabel and the
>> network stack as a whole. We have to move some variable declarations
>> around as a result so things may not be quite as pretty, but at least it
>> builds cleanly now.
>>
>> Some additional IPv6 conditionals were added to the NetLabel code as well
>> for the sake of consistency.
>>
>> Reported-by: Randy Dunlap <rdunlap@...otime.net>
>> Signed-off-by: Paul Moore <pmoore@...hat.com>
>
> Acked-by: Randy Dunlap <rdunlap@...otime.net>
Applied, thanks everyone.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists