add sync_flag to lbuf_rx