net: correct check in dev_addr_del()