Date: Thu, 22 May 2014 06:40:08 +0000 (UTC) From: Alexander Motin <mav@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r266536 - head/sys/netgraph Message-ID: <201405220640.s4M6e8Rd066697@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405220640.s4M6e8Rd066697>