Revision 59da5107 xseg/peers/user/peer.c

b/xseg/peers/user/peer.c
232 232
	}
233 233
}
234 234

  
235
/*
236
 * free_reqs is a queue that simply contains pointer offsets to the peer_reqs
237
 * queue. If a pointer from peer_reqs is popped, we are certain that the
238
 * associated memory in peer_reqs is free to use
239
 */
235 240
inline struct peer_req *alloc_peer_req(struct peerd *peer)
236 241
{
237 242
	xqindex idx = xq_pop_head(&peer->free_reqs, 1);

Also available in: Unified diff