[PATCH openEuler-5.10-LTS 23/66] usbnet: fix memory allocation in helpers