[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <op.y3kbi1pqlevu92@dandreev01.uni-eng.ru>
Date: Tue, 18 Jul 2017 11:07:39 +0300
From: Dmitry <d.andreev@...-eng.ru>
To: netdev@...r.kernel.org
Subject: [BUG] /net/hsr: prune_timer
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));
Powered by blists - more mailing lists