[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20130129.140033.1738779666268159179.davem@davemloft.net>
Date: Tue, 29 Jan 2013 14:00:33 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: jiri@...nulli.us
Cc: netdev@...r.kernel.org, edumazet@...gle.com,
stephen@...workplumber.org, kuznet@....inr.ac.ru,
jmorris@...ei.org, yoshfuji@...ux-ipv6.org, kaber@...sh.net,
psimerda@...hat.com, tgraf@...g.ch, nicolas.dichtel@...nd.com,
nhorman@...driver.com, dcbw@...hat.com
Subject: Re: [patch net-next] ipv4: introduce address lifetime
From: Jiri Pirko <jiri@...nulli.us>
Date: Thu, 24 Jan 2013 20:41:41 +0100
> There are some usecase when lifetime of ipv4 addresses might be helpful.
> For example:
> 1) initramfs networkmanager uses a DHCP daemon to learn network
> configuration parameters
> 2) initramfs networkmanager addresses, routes and DNS configuration
> 3) initramfs networkmanager is requested to stop
> 4) initramfs networkmanager stops all daemons including dhclient
> 5) there are addresses and routes configured but no daemon running. If
> the system doesn't start networkmanager for some reason, addresses and
> routes will be used forever, which violates RFC 2131.
>
> This patch is essentially a backport of ivp6 address lifetime mechanism
> for ipv4 addresses.
>
> Current "ip" tool supports this without any patch (since it does not
> distinguish between ipv4 and ipv6 addresses in this perspective.
>
> Also, this should be back-compatible with all current netlink users.
>
> Reported-by: Pavel Šimerda <psimerda@...hat.com>
> Signed-off-by: Jiri Pirko <jiri@...nulli.us>
Seems reasonable, applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists