| To: | Julian Anastasov <ja@xxxxxx>, netdev@xxxxxxxxxxx |
|---|---|
| Subject: | Re: [2.6 PATCH] bridge - provide valid tos value for ip_route_output_key |
| From: | Bart De Schuymer <bdschuym@xxxxxxxxxx> |
| Date: | Wed, 3 Dec 2003 19:38:22 +0100 |
| Cc: | Stephen Hemminger <shemminger@xxxxxxxx>, "David S. Miller" <davem@xxxxxxxxxx> |
| In-reply-to: | <Pine.LNX.4.44.0312030156410.1237-200000@u.domain.uli> |
| References: | <Pine.LNX.4.44.0312030156410.1237-200000@u.domain.uli> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | KMail/1.5 |
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
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [4/4]pollcontroller patch for 2.6.0-test10-bk25-netdrvr-exp1, Prasanna S Panchamukhi |
|---|---|
| Next by Date: | Re: [RTNETLINK] Provide real oif, Herbert Xu |
| Previous by Thread: | [2.6 PATCH] bridge - provide valid tos value for ip_route_output_key, Julian Anastasov |
| Next by Thread: | Re: [2.6 PATCH] bridge - provide valid tos value for ip_route_output_key, David S. Miller |
| Indexes: | [Date] [Thread] [Top] [All Lists] |