Linux Container Development
 help / color / mirror / Atom feed
From: ebiederm-aS9lmoZGLiVWk0Htik3J/w@public.gmane.org (Eric W. Biederman)
To: "Denis V. Lunev" <den-3ImXcnM4P+0@public.gmane.org>
Cc: containers-qjLDD68F18O7TbgM5vRIOg@public.gmane.org
Subject: Re: [patch 1/1][NETNS] fix compilation error
Date: Thu, 15 Nov 2007 06:29:09 -0700	[thread overview]
Message-ID: <m1sl37y6vu.fsf@ebiederm.dsl.xmission.com> (raw)
In-Reply-To: <473AD556.9020601-3ImXcnM4P+0@public.gmane.org> (Denis V. Lunev's message of "Wed, 14 Nov 2007 14:00:38 +0300")

"Denis V. Lunev" <den-3ImXcnM4P+0@public.gmane.org> writes:

> done by the next Eric's patch. Just pushed
>
> Daniel Lezcano wrote:
>> fix rtentry_to_fib_config compilation error.
>> Replaced the init_net() function call to &init_net.
>> 
>> Signed-off-by: Daniel Lezcano <dlezcano-NmTC/0ZBporQT0dZR+AlfA@public.gmane.org>
>> ---
>>  net/ipv4/fib_frontend.c |    2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>> 
>> Index: linux-2.6-netns/net/ipv4/fib_frontend.c
>> ===================================================================
>> --- linux-2.6-netns.orig/net/ipv4/fib_frontend.c
>> +++ linux-2.6-netns/net/ipv4/fib_frontend.c
>> @@ -294,7 +294,7 @@ static int rtentry_to_fib_config(int cmd
>>  	memset(cfg, 0, sizeof(*cfg));
>>  	cfg->fc_nlinfo.pid = 0;
>>  	cfg->fc_nlinfo.nlh = NULL;
>> -	cfg->fc_nlinfo.net = init_net();
>> +	cfg->fc_nlinfo.net = &init_net;
>>  
>>  	if (rt->rt_dst.sa_family != AF_INET)
>>  		return -EAFNOSUPPORT;
>> 

Oops.  Looks like some more old cruft I have failed to find and fix.
The joy of refactoring through a series of patches...

Eric

      parent reply	other threads:[~2007-11-15 13:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20071114104348.624640717@mai.toulouse-stg.fr.ibm.com>
2007-11-14 10:43 ` [patch 1/1][NETNS] fix compilation error Daniel Lezcano
     [not found]   ` <20071114104459.680016471-WECHFHqYCmGD/CxQmPlnQ0FT0OZdM7KVQQ4Iyu8u01E@public.gmane.org>
2007-11-14 11:00     ` Denis V. Lunev
     [not found]       ` <473AD556.9020601-3ImXcnM4P+0@public.gmane.org>
2007-11-15 13:29         ` Eric W. Biederman [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m1sl37y6vu.fsf@ebiederm.dsl.xmission.com \
    --to=ebiederm-as9lmozglivwk0htik3j/w@public.gmane.org \
    --cc=containers-qjLDD68F18O7TbgM5vRIOg@public.gmane.org \
    --cc=den-3ImXcnM4P+0@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox