/* This has to be called under both b_lock and fetch_lock, because it accesses both b_cnt and b_out.  */
static void mon_buff_area_free(struct mon_reader_bin *rp, unsigned int size)
/* This has to be called under both b_lock and fetch_lock, because it accesses both b_cnt and b_out.  */
static void mon_buff_area_free(struct mon_reader_bin *rp, unsigned int size)
{
	size = (size + PKT_ALIGN-1) & ~(PKT_ALIGN-1);
	rp->b_cnt -= size;
	if ((rp->b_out += size) >= rp->b_size)
		rp->b_out -= rp->b_size;
}