freebsd-skq/sys/netgraph
pfg ced875130d 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
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
ng_checksum.h
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
ng_ether.h
ng_frame_relay.c
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
ng_l2tp.h
ng_lmi.c
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
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
ng_pppoe.h
ng_pptpgre.c
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
ng_sample.h
ng_socket.c
ng_socket.h
ng_socketvar.h
ng_source.c
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
ng_tee.h
ng_tty.c
ng_tty.h
ng_UI.c
ng_UI.h
ng_vjc.c
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