bfd: restore the data within the packet after hash verification