[PATCH openEuler-5.10 339/557] samples/bpf, xdpsock: Fix race when running for fix duration of time