Now page_buf->end is the length of last packet