|
@@ -759,7 +759,7 @@ void ip_tunnel_xmit(struct sk_buff *skb, struct net_device *dev,
|
|
|
df |= (inner_iph->frag_off&htons(IP_DF));
|
|
df |= (inner_iph->frag_off&htons(IP_DF));
|
|
|
|
|
|
|
|
max_headroom = LL_RESERVED_SPACE(rt->dst.dev) + sizeof(struct iphdr)
|
|
max_headroom = LL_RESERVED_SPACE(rt->dst.dev) + sizeof(struct iphdr)
|
|
|
- + rt->dst.header_len;
|
|
|
|
|
|
|
+ + rt->dst.header_len + ip_encap_hlen(&tunnel->encap);
|
|
|
if (max_headroom > dev->needed_headroom)
|
|
if (max_headroom > dev->needed_headroom)
|
|
|
dev->needed_headroom = max_headroom;
|
|
dev->needed_headroom = max_headroom;
|
|
|
|
|
|