From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH 1/2] dst: take into account policy update on check() Date: Fri, 07 Sep 2012 14:48:28 -0400 (EDT) Message-ID: <20120907.144828.97793990734588625.davem@davemloft.net> References: <504A08EA.3080506@6wind.com> <1347030598.2484.777.camel@edumazet-glaptop> <504A0F1F.5060504@6wind.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: eric.dumazet@gmail.com, vyasevich@gmail.com, sri@us.ibm.com, linux-sctp@vger.kernel.org, netdev@vger.kernel.org To: nicolas.dichtel@6wind.com Return-path: Received: from shards.monkeyblade.net ([149.20.54.216]:40298 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751342Ab2IGSsb convert rfc822-to-8bit (ORCPT ); Fri, 7 Sep 2012 14:48:31 -0400 In-Reply-To: <504A0F1F.5060504@6wind.com> Sender: netdev-owner@vger.kernel.org List-ID: =46rom: Nicolas Dichtel Date: Fri, 07 Sep 2012 17:13:35 +0200 > Le 07/09/2012 17:09, Eric Dumazet a =E9crit : >> On Fri, 2012-09-07 at 16:47 +0200, Nicolas Dichtel wrote: >>> Le 07/09/2012 16:35, Eric Dumazet a =E9crit : >>>> >>>> Hmm... cant we reuse rt_genid ? >>>> >>>> (When changing flow_cache_genid, change &net->ipv4.rt_genid) >>> >>> And so adding a new field in net->ipv6? >> >> or move net->ipv4.rt_genid to net->rt_genid >> >> Having separate field for IPv4/IPv6 is of little interest IMHO >> > Ok, I will wait feedback from other people and repost a patch after. A global net->rt_genid is definitely the way to go.