From: "Denis V. Lunev" <den-3ImXcnM4P+0@public.gmane.org>
To: Daniel Lezcano <dlezcano-NmTC/0ZBporQT0dZR+AlfA@public.gmane.org>
Cc: containers-qjLDD68F18O7TbgM5vRIOg@public.gmane.org
Subject: Re: [patch 1/1][NETNS] fix compilation error
Date: Wed, 14 Nov 2007 14:00:38 +0300 [thread overview]
Message-ID: <473AD556.9020601@sw.ru> (raw)
In-Reply-To: <20071114104459.680016471-WECHFHqYCmGD/CxQmPlnQ0FT0OZdM7KVQQ4Iyu8u01E@public.gmane.org>
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;
>
next prev parent reply other threads:[~2007-11-14 11:00 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 [this message]
[not found] ` <473AD556.9020601-3ImXcnM4P+0@public.gmane.org>
2007-11-15 13:29 ` Eric W. Biederman
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=473AD556.9020601@sw.ru \
--to=den-3imxcnm4p+0@public.gmane.org \
--cc=containers-qjLDD68F18O7TbgM5vRIOg@public.gmane.org \
--cc=dlezcano-NmTC/0ZBporQT0dZR+AlfA@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