[PATCH v2 8/8] tap: make tap_update_mac() generic