projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b15093
)
ip_gre: Add IPPROTO_GRE to flowi in ipgre_tunnel_xmit
author
Steffen Klassert
<
[email protected]
>
Fri, 11 Feb 2011 19:21:57 +0000
(11:21 -0800)
committer
David S. Miller
<
[email protected]
>
Fri, 11 Feb 2011 19:23:12 +0000
(11:23 -0800)
Commit
5811662b15db018c740c57d037523683fd3e6123
("net: use the macros
defined for the members of flowi") accidentally removed the setting of
IPPROTO_GRE from the struct flowi in ipgre_tunnel_xmit. This patch
restores it.
Signed-off-by: Steffen Klassert <
[email protected]
>
Acked-by: Changli Gao <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
net/ipv4/ip_gre.c
patch
|
blob
|
history
diff --git
a/net/ipv4/ip_gre.c
b/net/ipv4/ip_gre.c
index eb68a0e34e49d735ece6280a0b48eb3b88fa3707..6613edfac28c1b10ebd9a71ef0c2f2cde479db64 100644
(file)
--- a/
net/ipv4/ip_gre.c
+++ b/
net/ipv4/ip_gre.c
@@
-775,6
+775,7
@@
static netdev_tx_t ipgre_tunnel_xmit(struct sk_buff *skb, struct net_device *dev
.fl4_dst = dst,
.fl4_src = tiph->saddr,
.fl4_tos = RT_TOS(tos),
+ .proto = IPPROTO_GRE,
.fl_gre_key = tunnel->parms.o_key
};
if (ip_route_output_key(dev_net(dev), &rt, &fl)) {