[Fix][plugin/ethernet] SVACE warning DEREF_AFTER_NULL