netdev
[Top] [All Lists]

Re: missing icmp errors for udp packets

To: kuznet@xxxxxxxxxxxxx
Subject: Re: missing icmp errors for udp packets
From: clemens <therapy@xxxxxxxxxxxxx>
Date: Tue, 31 Jul 2001 20:51:01 +0200
Cc: Pekka Savola <pekkas@xxxxxxxxxx>, therapy@xxxxxxxxxxxxx, netdev@xxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, davem@xxxxxxxxxx
In-reply-to: <200107311833.WAA09598@ms2.inr.ac.ru>
References: <200107311833.WAA09598@ms2.inr.ac.ru>
Sender: owner-netdev@xxxxxxxxxxx
User-agent: Mutt/1.3.18i
On Tue, Jul 31, 2001 at 10:33:56PM +0400, kuznet@xxxxxxxxxxxxx wrote:
> Hello!
> 
> > If you reboot the computer, the _first_ ping/scan attempt will not return
> > icmp dest unreachable.
> Hmm... how fast after reboot?

your patch will not prevent the first ping to empty the token bucket,
because burst is still 0, which is larger than dst->rate_token, and since
XRLIM_BURST_FACTOR times the timeout (which is 6*0=0 in that case) is the
token maximum, it will be truncated to 0, causing the following packets (if
in time) to be dropped.

clemens



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