projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tunnel: Clear IPCB(skb)->opt before dst_link_failure called
[linux-2.6-microblaze.git]
/
net
/
ipv4
/
udp_tunnel.c
diff --git
a/net/ipv4/udp_tunnel.c
b/net/ipv4/udp_tunnel.c
index
0ec0881
..
96599d1
100644
(file)
--- a/
net/ipv4/udp_tunnel.c
+++ b/
net/ipv4/udp_tunnel.c
@@
-89,6
+89,8
@@
void udp_tunnel_xmit_skb(struct rtable *rt, struct sock *sk, struct sk_buff *skb
uh->source = src_port;
uh->len = htons(skb->len);
+ memset(&(IPCB(skb)->opt), 0, sizeof(IPCB(skb)->opt));
+
udp_set_csum(nocheck, skb, src, dst, skb->len);
iptunnel_xmit(sk, rt, skb, src, dst, IPPROTO_UDP, tos, ttl, df, xnet);