1. Change the type of cmd to 'int'; 2. Remove RT_LWIP_USING_RT_MEM macro;
fix a eth driver bug to avoid crush