[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20120720.155412.1512575922394612084.davem@davemloft.net>
Date: Fri, 20 Jul 2012 15:54:12 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH 00/16] Remove the ipv4 routing cache
From: David Miller <davem@...emloft.net>
Date: Fri, 20 Jul 2012 15:50:21 -0700 (PDT)
> From: Eric Dumazet <eric.dumazet@...il.com>
> Date: Sat, 21 Jul 2012 00:42:46 +0200
>
>> (Apparently we choke on neighbour entries count.
>>
>> entries = atomic_inc_return(&tbl->entries) - 1;
>>
>> We need a percpu_counter ? Or something is wrong ?
>
> What do you mean we choke on it? Does it exceed the thresholds
> and we start garbage-collecting?
>
> That would indicate a leak, or we are creating new neigh entries when
> we shouldn't be, ie. we're not comparing the keys in the hash table
> entries correctly during the lookup in net/ipv4/ip_output.c
I see the problem, we get the key wrong during neigh creation for
loopback.
I'll fix this, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists