> >>> A better approach would probably be to set a semaphore before
> >>> starting, and release it at the end, and keep interrupts enabled
> >> 
> >>   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.
> > 
> > not clear what you mean, but in any case that variable will not help
> > solving the problem that you are having.
> > net.inet.ip.dummynet.expire only controls when flow descriptors
> > are deleted, but they are always deleted when the system runs out
> > of space, and new ones are always created when necessary.
> 
>   I am happy if no loss happened for bridged packets.
>   I keep the system not run out and no flow descriptors is deleted
> because I collect traffic stats for my ip address range. I can accept
> that the flow descriptors just now created are not reported.

but it is not like this. At the moment, irrespective of
the sysctl variables, reading the stats will put the kernel in
a critical section where network interrupts are ignored until
the copy is complete.

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



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

Reply via email to