Catch up with new ng_send_fn1() interface.
This commit is contained in:
parent
42282202ee
commit
f6c9d18d2f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=146282
@ -1009,8 +1009,11 @@ static void
|
||||
ng_ksocket_incoming(struct socket *so, void *arg, int waitflag)
|
||||
{
|
||||
const node_p node = arg;
|
||||
int wait;
|
||||
|
||||
ng_queue_fn(node, NULL, &ng_ksocket_incoming2, so, waitflag);
|
||||
wait = (waitflag & M_WAITOK) ? NG_WAITOK : 0;
|
||||
ng_send_fn1(node, NULL, &ng_ksocket_incoming2, so, waitflag,
|
||||
wait | NG_QUEUE);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user