Use NG_WAITOK as ng_package_msg() argument instead of M_WAITOK.
Submitted by: Dmitry Luhtionov <dmitryluhtionov@gmail.com>
This commit is contained in:
parent
885476cb9a
commit
3786381688
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=266536
@ -301,7 +301,7 @@ ngc_send(struct socket *so, int flags, struct mbuf *m, struct sockaddr *addr,
|
||||
}
|
||||
}
|
||||
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user