[PATCH openEuler-1.0-LTS 37/60] net: Return the correct errno code