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
ip6_tunnel: Clear IP6CB in ip6tunnel_xmit()
[linux-2.6-microblaze.git]
/
include
/
net
/
ip6_tunnel.h
diff --git
a/include/net/ip6_tunnel.h
b/include/net/ip6_tunnel.h
index
20ed969
..
1b1cf33
100644
(file)
--- a/
include/net/ip6_tunnel.h
+++ b/
include/net/ip6_tunnel.h
@@
-146,6
+146,7
@@
static inline void ip6tunnel_xmit(struct sock *sk, struct sk_buff *skb,
{
int pkt_len, err;
+ memset(skb->cb, 0, sizeof(struct inet6_skb_parm));
pkt_len = skb->len - skb_inner_network_offset(skb);
err = ip6_local_out(dev_net(skb_dst(skb)->dev), sk, skb);
if (unlikely(net_xmit_eval(err)))