From: Cong Wang <xiyou.wangcong@gmail.com>
To: Dmitry <d.andreev@uni-eng.ru>
Cc: Linux Kernel Network Developers <netdev@vger.kernel.org>
Subject: Re: [BUG] /net/hsr: prune_timer
Date: Mon, 24 Jul 2017 14:03:30 -0700 [thread overview]
Message-ID: <CAM_iQpX96_Q_dQdoC4kEN4DXjmYgjgoLJY7JeT9qx_oLj++ZWg@mail.gmail.com> (raw)
In-Reply-To: <op.y3kbi1pqlevu92@dandreev01.uni-eng.ru>
On Tue, Jul 18, 2017 at 1:07 AM, Dmitry <d.andreev@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!
next prev parent reply other threads:[~2017-07-24 21:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-18 8:07 [BUG] /net/hsr: prune_timer Dmitry
2017-07-24 21:03 ` Cong Wang [this message]
2017-07-26 14:06 ` Dmitry
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAM_iQpX96_Q_dQdoC4kEN4DXjmYgjgoLJY7JeT9qx_oLj++ZWg@mail.gmail.com \
--to=xiyou.wangcong@gmail.com \
--cc=d.andreev@uni-eng.ru \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).