Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
a550a014
Commit
a550a014
authored
Dec 04, 2003
by
Julian Anastasov
Committed by
David S. Miller
Dec 04, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[BRIDGE]: Provide correct TOS value to IPv4 routing.
parent
5a7990b2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
net/bridge/br_netfilter.c
net/bridge/br_netfilter.c
+1
-1
No files found.
net/bridge/br_netfilter.c
View file @
a550a014
...
@@ -180,7 +180,7 @@ static int br_nf_pre_routing_finish(struct sk_buff *skb)
...
@@ -180,7 +180,7 @@ static int br_nf_pre_routing_finish(struct sk_buff *skb)
struct
rtable
*
rt
;
struct
rtable
*
rt
;
struct
flowi
fl
=
{
.
nl_u
=
struct
flowi
fl
=
{
.
nl_u
=
{
.
ip4_u
=
{
.
daddr
=
iph
->
daddr
,
.
saddr
=
0
,
{
.
ip4_u
=
{
.
daddr
=
iph
->
daddr
,
.
saddr
=
0
,
.
tos
=
iph
->
tos
}
},
.
proto
=
0
};
.
tos
=
RT_TOS
(
iph
->
tos
)
}
},
.
proto
=
0
};
if
(
!
ip_route_output_key
(
&
rt
,
&
fl
))
{
if
(
!
ip_route_output_key
(
&
rt
,
&
fl
))
{
/* Bridged-and-DNAT'ed traffic doesn't
/* Bridged-and-DNAT'ed traffic doesn't
...
...
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