Le 07/09/2012 20:48, David Miller a écrit :
From: Nicolas Dichtel <nicolas.dichtel@xxxxxxxxx>
Date: Fri, 07 Sep 2012 17:13:35 +0200
Le 07/09/2012 17:09, Eric Dumazet a écrit :
On Fri, 2012-09-07 at 16:47 +0200, Nicolas Dichtel wrote:
Le 07/09/2012 16:35, Eric Dumazet a écrit :
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.
So it means that IPv6 dst entries will be invalidated by IPv4 route management.
For example, calling rt_cache_flush() will flush IPv6 dst too. Is this acceptable?
I will send a new version.
--
To unsubscribe from this list: send the line "unsubscribe linux-sctp" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html