From: Hannes Frederic Sowa Subject: Re: [PATCH net-next 1/8] ipv6: support for fib6_clean_* to update fn_sernum Date: Sun, 21 Sep 2014 12:09:24 +0200 Message-ID: <1411294164.3376664.169937765.22738C16@webmail.messagingengine.com> References: <541E32E9.2040409@yoshifuji.org> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: eric.dumazet@gmail.com, vyasevich@gmail.com, nicolas.dichtel@6wind.com, kafai@fb.com, YOSHIFUJI Hideaki To: YOSHIFUJI Hideaki , netdev@vger.kernel.org Return-path: Received: from out3-smtp.messagingengine.com ([66.111.4.27]:53878 "EHLO out3-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750800AbaIUKJY (ORCPT ); Sun, 21 Sep 2014 06:09:24 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by gateway2.nyi.internal (Postfix) with ESMTP id 3916D2056A for ; Sun, 21 Sep 2014 06:09:24 -0400 (EDT) In-Reply-To: <541E32E9.2040409@yoshifuji.org> Sender: netdev-owner@vger.kernel.org List-ID: On Sun, Sep 21, 2014, at 04:07, YOSHIFUJI Hideaki wrote: > Hi, > > Hannes Frederic Sowa wrote: > > > @@ -71,7 +72,8 @@ static DEFINE_RWLOCK(fib6_walker_lock); > > #define FWS_INIT FWS_L > > #endif > > > > -static void fib6_prune_clones(struct net *net, struct fib6_node *fn); > > +static void fib6_prune_clones(struct net *net, struct fib6_node *fn, > > + u32 sernum); > > static struct rt6_info *fib6_find_prefix(struct net *net, struct fib6_node *fn); > > static struct fib6_node *fib6_repair_tree(struct net *net, struct fib6_node *fn); > > static int fib6_walk(struct fib6_walker_t *w); > > @@ -84,7 +86,7 @@ static int fib6_walk_continue(struct fib6_walker_t *w); > > * result of redirects, path MTU changes, etc. > > */ > > > > -static __u32 rt_sernum; > > +static u32 rt_sernum; > > > > static void fib6_gc_timer_cb(unsigned long arg); > > > > I don't think you do really convert __u32 to u32 > in this series. You're right there are some places left. I'll fix that up and resend. In the end I'll convert the fn_sernum over to int to align with atomic_t. Thanks, Hannes