projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c0afdc
)
ipv4: Use passed-in protocol in ip_route_newports().
author
David S. Miller
<davem@davemloft.net>
Sat, 5 Mar 2011 05:31:48 +0000
(21:31 -0800)
committer
David S. Miller
<davem@davemloft.net>
Sat, 5 Mar 2011 05:31:48 +0000
(21:31 -0800)
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/route.h
patch
|
blob
|
history
diff --git
a/include/net/route.h
b/include/net/route.h
index
60daf74
..
8905d90
100644
(file)
--- 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 };