>>   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.

-- 
[EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message

Reply via email to