CVSROOT:        /cvs
Module name:    src
Changes by:     patr...@cvs.openbsd.org 2020/01/15 13:17:08

Modified files:
        sys/dev/pci    : if_bwfm_pci.c 

Log message:
Fix off-by-one in ringbuffer code.  When we insert items faster than
the hardware is processing them, the write index can catch up to the
read index.  We must make sure that our write index stays smaller
than the hardware's read index, thus the difference between both has
to be bigger than 1.

ok tobhe@

Reply via email to