aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2018-08-20 14:35:54 +0000
committerAlexander Motin <mav@FreeBSD.org>2018-08-20 14:35:54 +0000
commit8805f3d7be2ce01a2f80c6a33b4cd84e6632a81d (patch)
tree25b780a28bf5534ee09ae35f2b0142198aa0d8ef
parenta4671335c5db0e95ba6cc593dafb270918a0b304 (diff)
Notes
-rw-r--r--sys/netgraph/ng_base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netgraph/ng_base.c b/sys/netgraph/ng_base.c
index 88b0d090cdf0..a3ff2532ecbd 100644
--- a/sys/netgraph/ng_base.c
+++ b/sys/netgraph/ng_base.c
@@ -2665,7 +2665,7 @@ ng_generic_msg(node_p here, item_p item, hook_p lasthook)
IDHASH_RLOCK();
/* Get response struct. */
NG_MKRESPONSE(resp, msg, sizeof(*nl) +
- (V_ng_nodes * sizeof(struct nodeinfo)), M_NOWAIT | M_ZERO);
+ (V_ng_nodes * sizeof(struct nodeinfo)), M_NOWAIT);
if (resp == NULL) {
IDHASH_RUNLOCK();
error = ENOMEM;