From: Daniel Lezcano <daniel.lezcano@free•fr>
To: Lucian Adrian Grijincu <lucian.grijincu@gmail•com>
Cc: netdev@vger•kernel.org, "David S . Miller" <davem@davemloft•net>,
Benjamin Thery <benjamin.thery@bull•net>
Subject: Re: [PATCH] sysctl: ipv6: use correct net in ipv6_sysctl_rtcache_flush
Date: Fri, 25 Feb 2011 16:30:25 +0100 [thread overview]
Message-ID: <4D67CB11.4020801@free.fr> (raw)
In-Reply-To: <1298612883-18762-1-git-send-email-lucian.grijincu@gmail.com>
On 02/25/2011 06:48 AM, Lucian Adrian Grijincu wrote:
> Before this patch issuing these commands:
>
> fd = open("/proc/sys/net/ipv6/route/flush")
> unshare(CLONE_NEWNET)
> write(fd, "stuff")
>
> would flush the newly created net, not the original one.
>
> The equivalent ipv4 code is correct (stores the net inside ->extra1).
> ---
Acked-by: Daniel Lezcano <daniel.lezcano@free•fr>
next prev parent reply other threads:[~2011-02-25 15:30 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-25 5:48 [PATCH] sysctl: ipv6: use correct net in ipv6_sysctl_rtcache_flush Lucian Adrian Grijincu
2011-02-25 15:30 ` Daniel Lezcano [this message]
2011-02-25 19:02 ` David Miller
2011-03-02 3:25 ` Shan Wei
2011-03-02 16:38 ` Daniel Lezcano
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=4D67CB11.4020801@free.fr \
--to=daniel.lezcano@free$(echo .)fr \
--cc=benjamin.thery@bull$(echo .)net \
--cc=davem@davemloft$(echo .)net \
--cc=lucian.grijincu@gmail$(echo .)com \
--cc=netdev@vger$(echo .)kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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