gso: fix the segmentation to use current_data offset