* [2.6 PATCH] bridge - provide valid tos value for ip_route_output_key
@ 2003-12-03 0:03 Julian Anastasov
2003-12-03 18:38 ` Bart De Schuymer
0 siblings, 1 reply; 3+ messages in thread
From: Julian Anastasov @ 2003-12-03 0:03 UTC (permalink / raw)
To: netdev; +Cc: Bart De Schuymer, Stephen Hemminger, David S. Miller
[-- Attachment #1: Type: TEXT/PLAIN, Size: 128 bytes --]
Hello,
The attached patch changes bridging to provide valid
tos value to routing.
Regards
--
Julian Anastasov <ja@ssi.bg>
[-- Attachment #2: bridge tos --]
[-- Type: TEXT/PLAIN, Size: 1056 bytes --]
# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
# ChangeSet 1.1351 -> 1.1352
# net/bridge/br_netfilter.c 1.15 -> 1.16
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 03/12/02 ja@ssi.bg 1.1352
# [BRIDGE]: provide valid tos value for ip_route_output_key
# --------------------------------------------
#
diff -Nru a/net/bridge/br_netfilter.c b/net/bridge/br_netfilter.c
--- a/net/bridge/br_netfilter.c Tue Dec 2 23:55:30 2003
+++ b/net/bridge/br_netfilter.c Tue Dec 2 23:55:30 2003
@@ -180,7 +180,7 @@
struct rtable *rt;
struct flowi fl = { .nl_u =
{ .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)) {
/* Bridged-and-DNAT'ed traffic doesn't
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [2.6 PATCH] bridge - provide valid tos value for ip_route_output_key
2003-12-03 0:03 [2.6 PATCH] bridge - provide valid tos value for ip_route_output_key Julian Anastasov
@ 2003-12-03 18:38 ` Bart De Schuymer
2003-12-05 20:44 ` David S. Miller
0 siblings, 1 reply; 3+ messages in thread
From: Bart De Schuymer @ 2003-12-03 18:38 UTC (permalink / raw)
To: Julian Anastasov, netdev; +Cc: Stephen Hemminger, David S. Miller
Hi Dave, If you haven't already applied the patch from Julian Anastasov
below, please do.
cheers,
Bart
On Wednesday 03 December 2003 01:03, Julian Anastasov wrote:
> The attached patch changes bridging to provide valid
> tos value to routing.
diff -Nru a/net/bridge/br_netfilter.c b/net/bridge/br_netfilter.c
--- a/net/bridge/br_netfilter.c Tue Dec 2 23:55:30 2003
+++ b/net/bridge/br_netfilter.c Tue Dec 2 23:55:30 2003
@@ -180,7 +180,7 @@
struct rtable *rt;
struct flowi fl = { .nl_u =
{ .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)) {
/* Bridged-and-DNAT'ed traffic doesn't
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-12-05 20:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-03 0:03 [2.6 PATCH] bridge - provide valid tos value for ip_route_output_key Julian Anastasov
2003-12-03 18:38 ` Bart De Schuymer
2003-12-05 20:44 ` David S. Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).