[IPv6] rules: Remove bogus tos validation check
[deliverable/linux.git] / net / ipv6 / fib6_rules.c
index d587dde5897e7087e68b84cefd45080a16a3ea9a..0862809ffcf7abad0a4593126c9cccf3e8b29da5 100644 (file)
@@ -142,8 +142,7 @@ static int fib6_rule_configure(struct fib_rule *rule, struct sk_buff *skb,
        int err = -EINVAL;
        struct fib6_rule *rule6 = (struct fib6_rule *) rule;
 
-       if (frh->src_len > 128 || frh->dst_len > 128 ||
-           (frh->tos & ~IPV6_FLOWINFO_MASK))
+       if (frh->src_len > 128 || frh->dst_len > 128)
                goto errout;
 
        if (rule->action == FR_ACT_TO_TBL) {
This page took 0.051804 seconds and 5 git commands to generate.