macos: get more packets if requested

analogous to eead07418f13cd87a90770f03ea5118c546d8f1a for ukernel,
this is for macos' upcall procedure

Change-Id: Ia9d6108d8bb45b9bd33fe9a3af761dfe15248c6e
Reviewed-on: http://gerrit.openafs.org/7788
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
This commit is contained in:
Derrick Brashear 2012-07-17 15:34:07 -04:00
parent 50009267bb
commit 33a761ebd1

View File

@ -38,6 +38,9 @@ rx_upcall(socket_t so, void *arg, __unused int waitflag)
afs_int32 savelen; /* was using rlen but had aliasing problems */
size_t nbytes, resid, noffset;
/* See if a check for additional packets was issued */
rx_CheckPackets();
p = rxi_AllocPacket(RX_PACKET_CLASS_RECEIVE);
rx_computelen(p, tlen);
rx_SetDataSize(p, tlen); /* this is the size of the user data area */