Author: mav
Date: Mon Aug 27 03:42:19 2018
New Revision: 338333
URL: https://svnweb.freebsd.org/changeset/base/338333

Log:
  MFC r338105: Remove extra M_ZERO from NG_MKRESPONSE() argument.
  
  NG_MKRESPONSE() sets M_ZERO by itself.
  
  Submitted by: Dmitry Luhtionov <dmitryluhtio...@gmail.com>

Modified:
  stable/11/sys/netgraph/ng_base.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/netgraph/ng_base.c
==============================================================================
--- stable/11/sys/netgraph/ng_base.c    Mon Aug 27 03:32:40 2018        
(r338332)
+++ stable/11/sys/netgraph/ng_base.c    Mon Aug 27 03:42:19 2018        
(r338333)
@@ -2665,7 +2665,7 @@ ng_generic_msg(node_p here, item_p item, hook_p lastho
                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;
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to