freebsd-skq/sys/netinet/netdump
John Baldwin 4a711b8d04 Use zfree() instead of explicit_bzero() and free().
In addition to reducing lines of code, this also ensures that the full
allocation is always zeroed avoiding possible bugs with incorrect
lengths passed to explicit_bzero().

Suggested by:	cem
Reviewed by:	cem, delphij
Approved by:	csprng (cem)
Sponsored by:	Chelsio Communications
Differential Revision:	https://reviews.freebsd.org/D25435
2020-06-25 20:17:34 +00:00
..
netdump_client.c Use zfree() instead of explicit_bzero() and free(). 2020-06-25 20:17:34 +00:00
netdump.h Split out a more generic debugnet(4) from netdump(4) 2019-10-17 16:23:03 +00:00