netdev
[Top] [All Lists]

Re: Route cache performance

To: Simon Kirby <sim@xxxxxxxxxxxxx>
Subject: Re: Route cache performance
From: Alexey Kuznetsov <kuznet@xxxxxxxxxxxxx>
Date: Fri, 26 Aug 2005 15:55:20 +0400
Cc: Alexey Kuznetsov <kuznet@xxxxxxxxxxxxx>, Robert Olsson <Robert.Olsson@xxxxxxxxxxx>, Eric Dumazet <dada1@xxxxxxxxxxxxx>, netdev@xxxxxxxxxxx
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=ms2.inr.ac.ru; b=F0vNkIotNGbIzesWuf4wLK+u0Z/GPRS5apKGp6/tnkMKxEKjZF2vy8TSmMPUTBr7K9z1m1r+d5hs6R2TlnzFzzFEEBgF/NWYV/E8zMak/zx12MNhlSKL6M3PD2eYlngZwN7l94eKml0vA1vaYGviXWlrPuBERUoqBRBMm2XBfVs=;
In-reply-to: <20050825212211.GA23384@xxxxxxxxxxxxx>
References: <20050815213855.GA17832@xxxxxxxxxxxxx> <43014E27.1070104@xxxxxxxxxxxxx> <20050823190852.GA20794@xxxxxxxxxxxxx> <17163.32645.202453.145416@xxxxxxxxxxxx> <20050824000158.GA8137@xxxxxxxxxxxxx> <20050825181111.GB14336@xxxxxxxxxxxxx> <20050825200543.GA6612@xxxxxxxxxxxxxxx> <20050825212211.GA23384@xxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.6i
Hello!

> What part of the code will decrement the count?  I can't see it.

It depends. In the case of forwarding, it is kfree_skb(), happening
after the packet is transmitted by output device.

Well, it could result in overflow only if device queue is longer
than route/max_size.

Alexey

<Prev in Thread] Current Thread [Next in Thread>