freebsd-dev/sys/netgraph
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
..
atm sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
bluetooth sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
netflow sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
netgraph.h sys/netgraph: spelling fixes in comments. 2016-04-29 21:25:05 +00:00
ng_async.c
ng_async.h
ng_atmllc.c sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
ng_atmllc.h sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
ng_base.c Fix return value from ng_uncallout(). 2016-12-02 09:29:22 +00:00
ng_bpf.c
ng_bpf.h
ng_bridge.c Revert r327828, r327949, r327953, r328016-r328026, r328041: 2018-01-21 15:42:36 +00:00
ng_bridge.h
ng_car.c sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
ng_car.h sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
ng_checksum.c netgraph module for reconstructing checksums 2016-08-01 12:09:04 +00:00
ng_checksum.h netgraph module for reconstructing checksums 2016-08-01 12:09:04 +00:00
ng_cisco.c
ng_cisco.h
ng_deflate.c Revert r327828, r327949, r327953, r328016-r328026, r328041: 2018-01-21 15:42:36 +00:00
ng_deflate.h sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
ng_device.c sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
ng_device.h sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
ng_echo.c
ng_echo.h
ng_eiface.c sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
ng_eiface.h sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
ng_etf.c sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
ng_etf.h sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
ng_ether_echo.c
ng_ether_echo.h
ng_ether.c sys/netgraph: spelling fixes in comments. 2016-04-29 21:25:05 +00:00
ng_ether.h
ng_frame_relay.c sys/netgraph: spelling fixes in comments. 2016-04-29 21:25:05 +00:00
ng_frame_relay.h
ng_gif_demux.c sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
ng_gif_demux.h sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
ng_gif.c sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
ng_gif.h sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
ng_hole.c
ng_hole.h
ng_hub.c sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
ng_hub.h sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
ng_iface.c Correction after r323873: #include <sys/lock.h> in addition to <sys/rmlock.h> 2017-09-28 11:26:37 +00:00
ng_iface.h
ng_ip_input.c sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
ng_ip_input.h sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
ng_ipfw.c sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
ng_ipfw.h sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
ng_ksocket.c Check return value from soaccept(). 2017-06-14 16:13:20 +00:00
ng_ksocket.h
ng_l2tp.c Writing out the L2TP control packet requires 12 bytes of 2016-11-17 14:03:44 +00:00
ng_l2tp.h sys/netgraph: spelling fixes in comments. 2016-04-29 21:25:05 +00:00
ng_lmi.c sys/netgraph: spelling fixes in comments. 2016-04-29 21:25:05 +00:00
ng_lmi.h
ng_message.h
ng_mppc.c mppc - Finish pluging NETGRAPH_MPPC_COMPRESSION. 2017-01-20 00:02:11 +00:00
ng_mppc.h
ng_nat.c sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
ng_nat.h sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
ng_one2many.c sys/netgraph: spelling fixes in comments. 2016-04-29 21:25:05 +00:00
ng_one2many.h
ng_parse.c Revert r327828, r327949, r327953, r328016-r328026, r328041: 2018-01-21 15:42:36 +00:00
ng_parse.h
ng_patch.c sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
ng_patch.h sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
ng_pipe.c sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
ng_pipe.h sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
ng_ppp.c sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
ng_ppp.h
ng_pppoe.c sys/netgraph: spelling fixes in comments. 2016-04-29 21:25:05 +00:00
ng_pppoe.h
ng_pptpgre.c sys/netgraph: spelling fixes in comments. 2016-04-29 21:25:05 +00:00
ng_pptpgre.h
ng_pred1.c sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
ng_pred1.h sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
ng_rfc1490.c
ng_rfc1490.h
ng_sample.c sys/netgraph: spelling fixes in comments. 2016-04-29 21:25:05 +00:00
ng_sample.h
ng_socket.c sys: use our nitems() macro when param.h is available. 2016-04-21 19:40:10 +00:00
ng_socket.h
ng_socketvar.h
ng_source.c sys/netgraph: spelling fixes in comments. 2016-04-29 21:25:05 +00:00
ng_source.h
ng_split.c sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
ng_split.h sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
ng_sppp.c
ng_sppp.h
ng_tag.c sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
ng_tag.h sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
ng_tcpmss.c sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
ng_tcpmss.h sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
ng_tee.c sys/netgraph: spelling fixes in comments. 2016-04-29 21:25:05 +00:00
ng_tee.h
ng_tty.c sys/netgraph: spelling fixes in comments. 2016-04-29 21:25:05 +00:00
ng_tty.h
ng_UI.c
ng_UI.h
ng_vjc.c sys/netgraph: spelling fixes in comments. 2016-04-29 21:25:05 +00:00
ng_vjc.h
ng_vlan.c sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
ng_vlan.h sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
NOTES