diff options
Diffstat (limited to 'net/ipv4')
-rw-r--r-- | net/ipv4/ip_tunnel.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv4/ip_tunnel.c b/net/ipv4/ip_tunnel.c index 2acc2337d38b..3f6135bc54ef 100644 --- a/net/ipv4/ip_tunnel.c +++ b/net/ipv4/ip_tunnel.c | |||
@@ -668,6 +668,7 @@ void ip_tunnel_xmit(struct sk_buff *skb, struct net_device *dev, | |||
668 | dev->needed_headroom = max_headroom; | 668 | dev->needed_headroom = max_headroom; |
669 | 669 | ||
670 | if (skb_cow_head(skb, dev->needed_headroom)) { | 670 | if (skb_cow_head(skb, dev->needed_headroom)) { |
671 | ip_rt_put(rt); | ||
671 | dev->stats.tx_dropped++; | 672 | dev->stats.tx_dropped++; |
672 | kfree_skb(skb); | 673 | kfree_skb(skb); |
673 | return; | 674 | return; |