From e8307ef10c5653ffa597b58384686141adba58f7 Mon Sep 17 00:00:00 2001 From: Derrick Brashear Date: Tue, 17 Jul 2012 15:34:07 -0400 Subject: [PATCH] macos: get more packets if requested analogous to eead07418f13cd87a90770f03ea5118c546d8f1a for ukernel, this is for macos' upcall procedure Reviewed-on: http://gerrit.openafs.org/7788 Reviewed-by: Jeffrey Altman Tested-by: BuildBot Reviewed-by: Derrick Brashear (cherry picked from commit 33a761ebd11e33b5e111e67204218e8f67bef431) Change-Id: I1b59c802717393758370c376f95569467dc61049 Reviewed-on: http://gerrit.openafs.org/9747 Reviewed-by: Jeffrey Altman Tested-by: BuildBot Reviewed-by: Andrew Deason Reviewed-by: Stephan Wiesand --- src/rx/DARWIN/rx_knet.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/rx/DARWIN/rx_knet.c b/src/rx/DARWIN/rx_knet.c index b3aa3a2b88..9250df82f9 100644 --- a/src/rx/DARWIN/rx_knet.c +++ b/src/rx/DARWIN/rx_knet.c @@ -41,6 +41,9 @@ rx_upcall(socket_t so, void *arg, __unused int waitflag) if (rxinit_status) return; + /* 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 */