From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH] ipv4: fix counter in_slow_tot Date: Tue, 18 Feb 2014 16:24:21 -0500 (EST) Message-ID: <20140218.162421.2171545203891910634.davem@davemloft.net> References: <5301B8FF.6030800@cn.fujitsu.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org To: duanj.fnst@cn.fujitsu.com Return-path: Received: from shards.monkeyblade.net ([149.20.54.216]:35988 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750871AbaBRVYX (ORCPT ); Tue, 18 Feb 2014 16:24:23 -0500 In-Reply-To: <5301B8FF.6030800@cn.fujitsu.com> Sender: netdev-owner@vger.kernel.org List-ID: From: Duan Jiong Date: Mon, 17 Feb 2014 15:23:43 +0800 > since commit 89aef8921bf("ipv4: Delete routing cache."), the counter > in_slow_tot can't work correctly. > > The counter in_slow_tot increase by one when fib_lookup() return successfully > in ip_route_input_slow(), but actually the dst struct maybe not be created and > cached, so we can increase in_slow_tot after the dst struct is created. > > Signed-off-by: Duan Jiong Applied, thanks.