replace mspanlist with struct list_head