Re: Linux HSR driver question

2017-02-13 Thread Murali Karicheri
On 02/13/2017 10:38 AM, Arvid Brodin wrote: > On 2017-02-09 21:32, Murali Karicheri wrote: >> Hi Arvid, >> >> While I work to add PRP support to the existing Linux HSR driver, I came >> across >> a piece of code related to prune node function. The hsr_device.c adds the >> prune timer in hsr_dev_f

Re: Linux HSR driver question

2017-02-13 Thread Arvid Brodin
On 2017-02-09 21:32, Murali Karicheri wrote: > Hi Arvid, > > While I work to add PRP support to the existing Linux HSR driver, I came > across > a piece of code related to prune node function. The hsr_device.c adds the > prune timer in hsr_dev_finalize() by calling > > add_timer(&hsr->prune_tim

Linux HSR driver question

2017-02-09 Thread Murali Karicheri
Hi Arvid, While I work to add PRP support to the existing Linux HSR driver, I came across a piece of code related to prune node function. The hsr_device.c adds the prune timer in hsr_dev_finalize() by calling add_timer(&hsr->prune_timer); But it is never restarted in hsr_prune_nodes(). Is that