From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Dumazet Subject: Re: Freeing alive fib_info caused by ebc0ffae5 Date: Thu, 04 Nov 2010 11:30:26 +0100 Message-ID: <1288866626.2659.71.camel@edumazet-laptop> References: <1288866186.30549.10.camel@concordia> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: netdev@vger.kernel.org To: michael@ellerman.id.au Return-path: Received: from mail-wy0-f174.google.com ([74.125.82.174]:37006 "EHLO mail-wy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755433Ab0KDKab (ORCPT ); Thu, 4 Nov 2010 06:30:31 -0400 Received: by wyf28 with SMTP id 28so1741093wyf.19 for ; Thu, 04 Nov 2010 03:30:30 -0700 (PDT) In-Reply-To: <1288866186.30549.10.camel@concordia> Sender: netdev-owner@vger.kernel.org List-ID: Le jeudi 04 novembre 2010 =C3=A0 21:23 +1100, Michael Ellerman a =C3=A9= crit : > Hi all, >=20 > I'm running Linus' latest or thereabouts (ff8b16d), and I'm seeing > "Freeing alive fib_info" messages, from free_fib_info(). >=20 > Actually I only get one per boot, when network interfaces come up. > Seemingly related I am getting refcount problems when I shutdown, ie. > unregister_netdevice() sees a usage count of 1, which never decrement= s. >=20 > Bisect says it's ebc0ffae5 which causes the problem, or makes it appe= ar. >=20 > fib: RCU conversion of fib_lookup() > =20 > fib_lookup() converted to be called in RCU protected context, no > reference taken and released on a contended cache line (fib_clntr= ef) > =20 >=20 > Is this a bug in that commit, or a driver bug exposed? Hi Michael, thanks for the report (and painful bisection I guess) Thats hard to say... Is it reproductable on my machine ? Thanks