Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 03 Feb 2001 13:24:12 +0900
From:      Masachika ISHIZUKA <ishizuka@ish.org>
To:        freebsd-net@FreeBSD.ORG
Subject:   Re: packet loss when 'ipfw pipe list' with dummynet and bridge
Message-ID:  <20010203132412V.ishizuka@onion.ish.org>
In-Reply-To: <200102021415.f12EFBs70349@iguana.aciri.org>
References:  <20010202191214B.ishizuka@onion.ish.org> <200102021415.f12EFBs70349@iguana.aciri.org>

next in thread | previous in thread | raw e-mail | index | archive | help
>>   When I typed 'ipfw pipe list', packet loss occur.
> 
> unfortunately the "pipe list" has to navigate through a list of
> pipe/flow/queue descriptors to report its output, and at the moment
> it does this with interrupts disabled to avoid that the data
> structure changes while it is working.
> 
> A better approach would probably be to set a semaphore before
> starting, and release it at the end, and keep interrupts enabled
> during the transfer but make sure that no object is created or
> deleted and no pointer is changed during the process.  You can
> still risk loss (when e.g. you cannot create a new flow descriptor)
> but better than the current method.

  Dear, luigi-san.

  Thank you for mail.
  As I set "net.inet.ip.dummynet.expire=0", if it will affect
only to ip addresses founded newly when a semaphore is introduced,
I'll be happy.

-- 
ishizuka@ish.org


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010203132412V.ishizuka>