Catch up with new ng_send_fn1() interface.

This commit is contained in:
Gleb Smirnoff 2005-05-16 17:07:39 +00:00
parent 42282202ee
commit f6c9d18d2f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=146282

View File

@ -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);
}