Commit 9331ac9f authored by David Stevens's avatar David Stevens Committed by Hideaki Yoshifuji

[IPV6]: In multicast code, set MAF_TIMER_RUNNING when timer is set.

parent 44cb023a
...@@ -978,6 +978,7 @@ static void igmp6_group_queried(struct ifmcaddr6 *ma, unsigned long resptime) ...@@ -978,6 +978,7 @@ static void igmp6_group_queried(struct ifmcaddr6 *ma, unsigned long resptime)
ma->mca_timer.expires = jiffies + delay; ma->mca_timer.expires = jiffies + delay;
if (!mod_timer(&ma->mca_timer, jiffies + delay)) if (!mod_timer(&ma->mca_timer, jiffies + delay))
atomic_inc(&ma->mca_refcnt); atomic_inc(&ma->mca_refcnt);
ma->mca_flags |= MAF_TIMER_RUNNING;
} }
static void mld_marksources(struct ifmcaddr6 *pmc, int nsrcs, static void mld_marksources(struct ifmcaddr6 *pmc, int nsrcs,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment