CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2024/03/07 08:01:53
Modified files:
sys/arch/sparc64/sparc64: machdep.c
Log message:
In _bus_dmamap_load_mbuf() ensure that for large mbuf m_len values
the incr value is rounded to the page boundary. This can happen when
m_defrag() packs a TSO packet into one big mbuf cluster.
Also fix _bus_dmamap_load_uio() which has the same min(buflen, NBPG); logic.
bus_dmamap_load_uio() is unsued and will be removed after unlock.
OK miod@ bluhm@ kettenis@