mirror of
https://github.com/opnsense/src.git
synced 2026-05-04 17:05:14 -04:00
First, two of those four checks are unreachable.
Second, I don't believe there should be ">=" instead of ">".
Third, bus_dma(9) already returns the same EFBIG if ">".
This fixes false I/O errors in worst S/G cases with maxphys >= 2MB.
MFC after: 1 week
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| mpilib | ||
| mpt.c | ||
| mpt.h | ||
| mpt_cam.c | ||
| mpt_cam.h | ||
| mpt_debug.c | ||
| mpt_pci.c | ||
| mpt_raid.c | ||
| mpt_raid.h | ||
| mpt_reg.h | ||
| mpt_user.c | ||