[PATCH openEuler-1.0-LTS 14/29] usbnet: fix memory allocation in helpers