[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <51E7B1B0.3000109@6wind.com>
Date: Thu, 18 Jul 2013 11:13:20 +0200
From: Nicolas Dichtel <nicolas.dichtel@...nd.com>
To: Fan Du <fan.du@...driver.com>
CC: netdev <netdev@...r.kernel.org>
Subject: Re: [DISCUSSION] rt6i_genid
Le 18/07/2013 05:22, Fan Du a écrit :
> Hello Nicolas
>
> Commit 6f3118b571b8a4c06c7985dc3172c3526cb86253: "ipv6: use net->rt_genid to
> check dst validity"
> makes ip6_dst_check to check rt6i_genid against with struct net->rt_genid,
> As a matter of fact, struct net->rt_genid could only be modified by two places,
> first is adding/delete IPv4 address, second is inserting new XFRM policy.
>
> Is there any other considerations that adding/deleting IPv4 address would
> invalid all IPv6 dst
> as well? because I'm working a patch which actually depends on the result of
> this question.
No, the goal was to cover the IPsec case, ie invalidate dst entries when an xfrm
policy is inserted/deleted.
Regards,
Nicolas
--
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