Hello!
void hsr_prune_nodes(unsigned long data) called once by timer. hsr_prune_nodes must be called periodically every PRUNE_PERIOD (60s). This code want be added to tail of hsr_prune_nodes function hsr->prune_timer.expires = jiffies + msecs_to_jiffies(PRUNE_PERIOD); add_timer(&hsr->prune_timer); or mod_timer(&hsr->prune_timer, jiffies + msecs_to_jiffies(PRUNE_PERIOD));