Commit 4157434c authored by David S. Miller's avatar David S. Miller

ipv4: Use passed-in protocol in ip_route_newports().

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 3c0afdca
...@@ -217,7 +217,7 @@ static inline struct rtable *ip_route_newports(struct rtable *rt, ...@@ -217,7 +217,7 @@ static inline struct rtable *ip_route_newports(struct rtable *rt,
.fl4_dst = rt->fl.fl4_dst, .fl4_dst = rt->fl.fl4_dst,
.fl4_src = rt->fl.fl4_src, .fl4_src = rt->fl.fl4_src,
.fl4_tos = rt->fl.fl4_tos, .fl4_tos = rt->fl.fl4_tos,
.proto = rt->fl.proto, .proto = protocol,
.fl_ip_sport = sport, .fl_ip_sport = sport,
.fl_ip_dport = dport }; .fl_ip_dport = dport };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment