ipv4: Use passed-in protocol in ip_route_newports().
Subsystems (3)
David Miller
maintainerPATCH 1/1 ipv4: Use passed-in protocol in ip_route_newports().
Signed-off-by David S. Miller <[email protected]>
--- include/net/route.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
include/net/route.h +1 -1
@@ -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 };
Signature · 1 line
1.7.4.1
Quoted 10 lines · David Miller
Signed-off-by David S. Miller <[email protected]>--- include/net/route.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)include/net/route.h +0
-0
include/net/route.h static inline struct rtable *ip_route_newports(struct rtable *rt, · line 223
Quoted 8 lines
include/net/route.h +1
-1@@ -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 <[email protected]>