svn commit: r266536 - head/sys/netgraph
Alexander Motin
mav at FreeBSD.org
Thu May 22 06:40:08 UTC 2014
Author: mav
Date: Thu May 22 06:40:07 2014
New Revision: 266536
URL: http://svnweb.freebsd.org/changeset/base/266536
Log:
Use NG_WAITOK as ng_package_msg() argument instead of M_WAITOK.
Submitted by: Dmitry Luhtionov <dmitryluhtionov at gmail.com>
Modified:
head/sys/netgraph/ng_socket.c
Modified: head/sys/netgraph/ng_socket.c
==============================================================================
--- head/sys/netgraph/ng_socket.c Thu May 22 06:28:09 2014 (r266535)
+++ head/sys/netgraph/ng_socket.c Thu May 22 06:40:07 2014 (r266536)
@@ -301,7 +301,7 @@ ngc_send(struct socket *so, int flags, s
}
}
- item = ng_package_msg(msg, M_WAITOK);
+ item = ng_package_msg(msg, NG_WAITOK);
if ((error = ng_address_path((pcbp->sockdata->node), item, path, 0))
!= 0) {
#ifdef TRACE_MESSAGES
More information about the svn-src-all
mailing list