Hello
IPfilter on NetBSD 9.0 seems to have issues. On all i386 XEN3PAE_DOMU
machines where I use filtering, it crashes (see
http://mail-index.netbsd.org/tech-kern/2020/04/18/msg026280.html)
Now I have a problem with MSS clamp. /etc/ipf.conf contains
pass in from any to any
pass out from any to
Emmanuel Dreyfus wrote:
> After upgrading to 9.0, I experienced crashes when enabling
> ipfilter (backtrace below). I tried latest netbsd-9 kernel without
> improvement.
NB: this is on i386 XEN3PAE_DOMU
Another problem: even with no rule loaded (empty ipf.conf and
ipnat.conf), ipfilter
> Let me try to simplify these concepts.
Thank you; that would help significantly.
>> I'm not doing read/write DMA. [...]
> If you are not doing DMA you don't need to do any memory
> synchronization (modulo SMP issues with other CPUs, but that's a
> completely different topic.)
Oh, I'm doing
Let me try to simplify these concepts.
On Thu, 23 Apr 2020, Mouse wrote:
> I'm not doing read/write DMA. DMA never transfers from memory to the
> device. (Well, I suppose it does to a small extent, in that the device
> reads buffer descriptors. But the buffer descriptors are set up once
>
>> while (fewer than n samples copied)
>> DMASYNC_POSTREAD for sample at offset o
> That should be PREREAD (to make sure the dma'd data is visible for
> the cpu)
>> read sample at offset o
> and teh POSTREAD should be here
>>
On Wed, Apr 22, 2020 at 05:53:46PM -0400, Mouse wrote:
> s = splhigh()
> while (fewer than n samples copied)
> DMASYNC_POSTREAD for sample at offset o
That should be PREREAD (to make sure the dma'd data is visible for the
cpu)
>