diff options
| author | Alexander Motin <mav@FreeBSD.org> | 2021-04-17 14:41:35 +0000 |
|---|---|---|
| committer | Alexander Motin <mav@FreeBSD.org> | 2021-04-24 00:43:14 +0000 |
| commit | f0077b4c1dcfa7eda6efadf197e8423fe002ac5d (patch) | |
| tree | 696d03ccad99d1b5eb4aa22a22df9a770bcef608 /sys/dev/netmap | |
| parent | 87c0db9d0174fb1906a58d2f3bd5aff6dad528de (diff) | |
mpt(4): Remove incorrect S/G segments limits.
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 0f29396e493bd87ffa6a63fcb602b12e79d21a1e)
Diffstat (limited to 'sys/dev/netmap')
0 files changed, 0 insertions, 0 deletions
