CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2019/05/09 10:13:34

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

Log message:
Add two sanity checks to iwm's firmware notification interrupt handler:

1) Clamp firmware-provided index into the rx ring to the size of the ring.
Linux started doing this, too, to work around HW bugs in the 9000 series.
(mathes Linux 5eae443eb5e2b3777582ea37c6a002171ec134d5)

2) Don't call iwm_cmd_done() if the firmware response in the Rx buffer
is not recognized. We should just skip such buffers, not act on them.

ok beck kevlo mpi

Reply via email to