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