]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - net/ipv6/ip6mr.c
ipmr/ip6mr: Initialize the last assert time of mfc entries.
[karo-tx-linux.git] / net / ipv6 / ip6mr.c
index a10e77103c88dfc952f80c645a7b87c57b8f6dbf..e207cb2468dab0799422b2fc4620d729ed09a44b 100644 (file)
@@ -1074,6 +1074,7 @@ static struct mfc6_cache *ip6mr_cache_alloc(void)
        struct mfc6_cache *c = kmem_cache_zalloc(mrt_cachep, GFP_KERNEL);
        if (!c)
                return NULL;
+       c->mfc_un.res.last_assert = jiffies - MFC_ASSERT_THRESH - 1;
        c->mfc_un.res.minvif = MAXMIFS;
        return c;
 }