[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20110304.213553.71108798.davem@davemloft.net>
Date: Fri, 04 Mar 2011 21:35:53 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: netdev@...r.kernel.org
Subject: [PATCH] ipv4: Use passed-in protocol in ip_route_newports().
Signed-off-by: David S. Miller <davem@...emloft.net>
---
include/net/route.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/net/route.h b/include/net/route.h
index 60daf74..8905d90 100644
--- a/include/net/route.h
+++ b/include/net/route.h
@@ -217,7 +217,7 @@ static inline struct rtable *ip_route_newports(struct rtable *rt,
.fl4_dst = rt->fl.fl4_dst,
.fl4_src = rt->fl.fl4_src,
.fl4_tos = rt->fl.fl4_tos,
- .proto = rt->fl.proto,
+ .proto = protocol,
.fl_ip_sport = sport,
.fl_ip_dport = dport };
--
1.7.4.1
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists