[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAM_iQpX96_Q_dQdoC4kEN4DXjmYgjgoLJY7JeT9qx_oLj++ZWg@mail.gmail.com>
Date: Mon, 24 Jul 2017 14:03:30 -0700
From: Cong Wang <xiyou.wangcong@...il.com>
To: Dmitry <d.andreev@...-eng.ru>
Cc: Linux Kernel Network Developers <netdev@...r.kernel.org>
Subject: Re: [BUG] /net/hsr: prune_timer
On Tue, Jul 18, 2017 at 1:07 AM, Dmitry <d.andreev@...-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!
Powered by blists - more mailing lists