]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/decnet/dn_rules.c
pdc202xx_new: fix PCI refcounting
[linux-2.6-omap-h63xx.git] / net / decnet / dn_rules.c
index 7f58b95b27d1e00725d140c701cdb3d1cb408068..84ff3dd370709fc8c8c7f2927d1e6f9861019ea5 100644 (file)
@@ -108,7 +108,7 @@ errout:
        return err;
 }
 
-static struct nla_policy dn_fib_rule_policy[FRA_MAX+1] __read_mostly = {
+static const struct nla_policy dn_fib_rule_policy[FRA_MAX+1] = {
        FRA_GENERIC_POLICY,
 };
 
@@ -242,7 +242,7 @@ static u32 dn_fib_rule_default_pref(void)
 
 static void dn_fib_rule_flush_cache(void)
 {
-       dn_rt_cache_flush(0);
+       dn_rt_cache_flush(-1);
 }
 
 static struct fib_rules_ops dn_fib_rules_ops = {