Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Kirill Smelkov
linux
Commits
2cc67cc7
Commit
2cc67cc7
authored
18 years ago
by
YOSHIFUJI Hideaki
Committed by
David S. Miller
18 years ago
Browse files
Options
Download
Email Patches
Plain Diff
[IPV6] ROUTE: Routing by Traffic Class.
Signed-off-by:
YOSHIFUJI Hideaki
<
yoshfuji@linux-ipv6.org
>
parent
e731c248
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
net/ipv6/fib6_rules.c
net/ipv6/fib6_rules.c
+3
-0
No files found.
net/ipv6/fib6_rules.c
View file @
2cc67cc7
...
...
@@ -121,6 +121,9 @@ static int fib6_rule_match(struct fib_rule *rule, struct flowi *fl, int flags)
!
ipv6_prefix_equal
(
&
fl
->
fl6_src
,
&
r
->
src
.
addr
,
r
->
src
.
plen
))
return
0
;
if
(
r
->
tclass
&&
r
->
tclass
!=
((
ntohl
(
fl
->
fl6_flowlabel
)
>>
20
)
&
0xff
))
return
0
;
return
1
;
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment