* [PATCH] ipv4: Use passed-in protocol in ip_route_newports().
@ 2011-03-05 5:35 David Miller
2011-03-05 6:49 ` Eric Dumazet
0 siblings, 1 reply; 2+ messages in thread
From: David Miller @ 2011-03-05 5:35 UTC (permalink / raw)
To: netdev
Signed-off-by: David S. Miller <davem@davemloft.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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ipv4: Use passed-in protocol in ip_route_newports().
2011-03-05 5:35 [PATCH] ipv4: Use passed-in protocol in ip_route_newports() David Miller
@ 2011-03-05 6:49 ` Eric Dumazet
0 siblings, 0 replies; 2+ messages in thread
From: Eric Dumazet @ 2011-03-05 6:49 UTC (permalink / raw)
To: David Miller; +Cc: netdev
Le vendredi 04 mars 2011 à 21:35 -0800, David Miller a écrit :
> Signed-off-by: David S. Miller <davem@davemloft.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 };
>
Reviewed-by: Eric Dumazet <eric.dumazet@gmail.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-03-05 6:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-05 5:35 [PATCH] ipv4: Use passed-in protocol in ip_route_newports() David Miller
2011-03-05 6:49 ` Eric Dumazet
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox