datapath: Ensure packet length matches headers during checksum setup.