[PATCH openEuler-1.0-LTS v3 1/2] xfrm: fix a data-race in xfrm_gen_index()