--- 2.4.19pre9aa1/net/sunrpc/svcsock.c.~1~ Wed May 29 22:54:03 2002 +++ 2.4.19pre9aa1/net/sunrpc/svcsock.c Thu May 30 00:19:59 2002 @@ -985,8 +985,7 @@ svc_recv(struct svc_serv *serv, struct s if (!(rqstp->rq_resbuf = svc_resbuf_alloc(serv))) { printk (KERN_WARNING "RPC: Unable to allocate resbuf from cache!\n"); - current->policy |= SCHED_YIELD; - schedule(); + yield(); svc_sock_received(svsk, 0); err = -EAGAIN; goto out_noresbuf;