X-Git-Url: https://git.openafs.org/?p=openafs.git;a=blobdiff_plain;f=src%2Frx%2Frx.c;h=0f30eb62d0e4095f40d19f7bfb59e9d838942713;hp=81dff7014a379e7fe76a934aa104f891dd42a7cc;hb=1f0cf8b2b4bb6e36d8d82323a15ced72d91db0ec;hpb=ead743db5d57afa175f5dc0828b76881bcbcbf54 diff --git a/src/rx/rx.c b/src/rx/rx.c index 81dff70..0f30eb6 100644 --- a/src/rx/rx.c +++ b/src/rx/rx.c @@ -8110,6 +8110,10 @@ rxi_FindRpcStat(struct rx_queue *stats, afs_uint32 rxInterface, unsigned int *counter, int create) { rx_interface_stat_p rpc_stat, nrpc_stat; + + if (queue_IsEmpty(stats) && !create) + return NULL; + /* * See if there's already a structure for this interface */