On Tue, Jul 18, 2017 at 1:07 AM, Dmitry <d.andr...@uni-eng.ru> wrote: > 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));
Please feel free to send a patch. You can follow this doc: https://www.kernel.org/doc/html/v4.11/process/submitting-patches.html Thanks!