[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20140515.232638.2142241060100428889.davem@davemloft.net>
Date: Thu, 15 May 2014 23:26:38 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: duanj.fnst@...fujitsu.com
Cc: hannes@...essinduktion.org, netdev@...r.kernel.org
Subject: Re: [PATCH v2] ipv6: update Destination Cache entries when gateway
turn into host
From: Duan Jiong <duanj.fnst@...fujitsu.com>
Date: Thu, 15 May 2014 15:56:14 +0800
>
> RFC 4861 states in 7.2.5:
>
> The IsRouter flag in the cache entry MUST be set based on the
> Router flag in the received advertisement. In those cases
> where the IsRouter flag changes from TRUE to FALSE as a result
> of this update, the node MUST remove that router from the
> Default Router List and update the Destination Cache entries
> for all destinations using that neighbor as a router as
> specified in Section 7.3.3. This is needed to detect when a
> node that is used as a router stops forwarding packets due to
> being configured as a host.
>
> Currently, when dealing with NA Message which IsRouter flag changes from
> TRUE to FALSE, the kernel only removes router from the Default Router List,
> and don't update the Destination Cache entries.
>
> Now in order to update those Destination Cache entries, i introduce
> function rt6_clean_tohost().
>
> Signed-off-by: Duan Jiong <duanj.fnst@...fujitsu.com>
Applied, thank you.
--
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