[PATCH openEuler-1.0-LTS 22/31] net: prevent user from passing illegal stab size