CVSROOT: /cvs Module name: src Changes by: [email protected] 2024/08/28 06:40:22
Modified files:
sys/dev/pv : if_vio.c
Log message:
vio: Fix allocation sizes
For both rx and tx, we need an array of bus_dmamap_t and mbuf pointers each.
This results in a size of
(rxqsize + txqsize) * (sizeof(bus_dmamap_t) + sizeof(struct mbuf *))
The factor 2 before the sizeof(bus_dmamap_t) was too much and we
allocated more than we needed.
OK bluhm@
