diff options
Diffstat (limited to 'net/ipv6/xfrm6_output.c')
-rw-r--r-- | net/ipv6/xfrm6_output.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/xfrm6_output.c b/net/ipv6/xfrm6_output.c index 8ae87d4ec5ff..5959ce9620eb 100644 --- a/net/ipv6/xfrm6_output.c +++ b/net/ipv6/xfrm6_output.c | |||
@@ -82,7 +82,7 @@ static int xfrm6_tunnel_check_size(struct sk_buff *skb) | |||
82 | 82 | ||
83 | if ((!skb_is_gso(skb) && skb->len > mtu) || | 83 | if ((!skb_is_gso(skb) && skb->len > mtu) || |
84 | (skb_is_gso(skb) && | 84 | (skb_is_gso(skb) && |
85 | skb_gso_network_seglen(skb) > ip6_skb_dst_mtu(skb))) { | 85 | !skb_gso_validate_network_len(skb, ip6_skb_dst_mtu(skb)))) { |
86 | skb->dev = dst->dev; | 86 | skb->dev = dst->dev; |
87 | skb->protocol = htons(ETH_P_IPV6); | 87 | skb->protocol = htons(ETH_P_IPV6); |
88 | 88 | ||