[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: Resend: [PATCH] Fix libiproute build with kernel headers older
From:       Denys Vlasenko <vda.linux () googlemail ! com>
Date:       2011-02-26 19:12:25
Message-ID: 201102262012.25524.vda.linux () googlemail ! com
[Download RAW message or body]

On Saturday 26 February 2011 11:52, Stefan Seyfried wrote:
> On Mon, 21 Feb 2011 17:45:49 +0100
> Stefan Seyfried <stefan.seyfried@googlemail.com> wrote:
> 
> > Hi,
> > 
> > the attached patch fixes the build if your kernel headers happen to be
> > older than 2.6.17, which is when IFLA_OPERSTATE was introduced.
> > 
> > Unfortunately, IFLA_OPERSTATE is not a define, so I can't check it with
> > #ifdef. However, IFF_DORMANT is a define and was introduced with the very
> > same commit, so we might be safe.
> > 
> > A comment explaining this situation is in place.
> 
> From cda685fa074ffbd324d752c11de596db8ffbbe64 Mon Sep 17 00:00:00 2001
> From: Stefan Seyfried <seife+dev@b1-systems.com>
> Date: Mon, 21 Feb 2011 17:29:59 +0100
> Subject: [PATCH] fix libiproute compile with kernel headers < 2.6.17
> 
> Signed-off-by: Stefan Seyfried <seife+dev@b1-systems.com>

Applied, thanks!
-- 
vda
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic