]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - net/ipv6/ip6mr.c
Merge branch 'for-4.3/blkcg' of git://git.kernel.dk/linux-block
[karo-tx-linux.git] / net / ipv6 / ip6mr.c
index 74ceb73c1c9a042b0f8f9f65c264e8426d65f7f3..0e004cc42a22b1593fa308f3adac735568ddf2ee 100644 (file)
@@ -217,7 +217,6 @@ static const struct fib_rules_ops __net_initconst ip6mr_rules_ops_template = {
        .match          = ip6mr_rule_match,
        .configure      = ip6mr_rule_configure,
        .compare        = ip6mr_rule_compare,
-       .default_pref   = fib_default_rule_pref,
        .fill           = ip6mr_rule_fill,
        .nlgroup        = RTNLGRP_IPV6_RULE,
        .policy         = ip6mr_rule_policy,
@@ -550,7 +549,7 @@ static void ipmr_mfc_seq_stop(struct seq_file *seq, void *v)
 
        if (it->cache == &mrt->mfc6_unres_queue)
                spin_unlock_bh(&mfc_unres_lock);
-       else if (it->cache == mrt->mfc6_cache_array)
+       else if (it->cache == &mrt->mfc6_cache_array[it->ct])
                read_unlock(&mrt_lock);
 }