mirror of
https://git.openafs.org/openafs.git
synced 2025-02-01 14:07:39 +00:00
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:
parent
50009267bb
commit
33a761ebd1
@ -38,6 +38,9 @@ rx_upcall(socket_t so, void *arg, __unused int waitflag)
|
|||||||
afs_int32 savelen; /* was using rlen but had aliasing problems */
|
afs_int32 savelen; /* was using rlen but had aliasing problems */
|
||||||
size_t nbytes, resid, noffset;
|
size_t nbytes, resid, noffset;
|
||||||
|
|
||||||
|
/* See if a check for additional packets was issued */
|
||||||
|
rx_CheckPackets();
|
||||||
|
|
||||||
p = rxi_AllocPacket(RX_PACKET_CLASS_RECEIVE);
|
p = rxi_AllocPacket(RX_PACKET_CLASS_RECEIVE);
|
||||||
rx_computelen(p, tlen);
|
rx_computelen(p, tlen);
|
||||||
rx_SetDataSize(p, tlen); /* this is the size of the user data area */
|
rx_SetDataSize(p, tlen); /* this is the size of the user data area */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user