[PATCH openEuler-1.0-LTS v2 11/21] xfrm: fix a data-race in xfrm_gen_index()