projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso...
[firefly-linux-kernel-4.4.55.git]
/
net
/
ipv6
/
fib6_rules.c
diff --git
a/net/ipv6/fib6_rules.c
b/net/ipv6/fib6_rules.c
index 3fd0a578329e523828fc56b40b6ffe217fd850dc..b4d5e1d97c1b2576fc02a15b7a05a773197bb8e0 100644
(file)
--- a/
net/ipv6/fib6_rules.c
+++ b/
net/ipv6/fib6_rules.c
@@
-169,7
+169,7
@@
static int fib6_rule_match(struct fib_rule *rule, struct flowi *fl, int flags)
return 0;
}
- if (r->tclass && r->tclass !=
((ntohl(fl6->flowlabel) >> 20) & 0xff
))
+ if (r->tclass && r->tclass !=
ip6_tclass(fl6->flowlabel
))
return 0;
return 1;