[IPSEC]: Lock state when copying non-atomic fields to user-space