1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-28 11:57:28 +00:00
freebsd/sys/dev/if_ndis
Pedro F. Giffuni ac2fffa4b7 Revert r327828, r327949, r327953, r328016-r328026, r328041:
Uses of mallocarray(9).

The use of mallocarray(9) has rocketed the required swap to build FreeBSD.
This is likely caused by the allocation size attributes which put extra pressure
on the compiler.

Given that most of these checks are superfluous we have to choose better
where to use mallocarray(9). We still have more uses of mallocarray(9) but
hopefully this is enough to bring swap usage to a reasonable level.

Reported by:	wosch
PR:		225197
2018-01-21 15:42:36 +00:00
..
if_ndis_pccard.c spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
if_ndis_pci.c spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
if_ndis_usb.c spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
if_ndis.c Revert r327828, r327949, r327953, r328016-r328026, r328041: 2018-01-21 15:42:36 +00:00
if_ndisvar.h spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00