diff options
| -rw-r--r-- | net/ipv4/ip_tunnel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/ip_tunnel.c b/net/ipv4/ip_tunnel.c index 945734b2f209..ca1cb2d5f6e2 100644 --- a/net/ipv4/ip_tunnel.c +++ b/net/ipv4/ip_tunnel.c | |||
| @@ -476,7 +476,7 @@ static int tnl_update_pmtu(struct net_device *dev, struct sk_buff *skb, | |||
| 476 | struct rtable *rt, __be16 df) | 476 | struct rtable *rt, __be16 df) |
| 477 | { | 477 | { |
| 478 | struct ip_tunnel *tunnel = netdev_priv(dev); | 478 | struct ip_tunnel *tunnel = netdev_priv(dev); |
| 479 | int pkt_size = skb->len - tunnel->hlen; | 479 | int pkt_size = skb->len - tunnel->hlen - dev->hard_header_len; |
| 480 | int mtu; | 480 | int mtu; |
| 481 | 481 | ||
| 482 | if (df) | 482 | if (df) |
