Re: [PATCH] add an ip6_manager object for the IPv6 Manual setting case



On Fri, 2011-10-07 at 16:50 -0400, Mathieu Trudel-Lapierre wrote:
> This is so the routes added in this case can be torn down by
> ...flush_routes() in nm_device_deactivate(). Without an ip6_manager
> object, only the IPv4 routes are considered (AF_INET is passed for
> family instead of AF_UNSPEC).

Instead, could we check for (priv->ip6_manager || priv->ip6_config) in
nm_device_deactivate()?

Dan



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]