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 b34c58c6565..79ccfb08073 100644 --- a/net/ipv6/xfrm6_output.c +++ b/net/ipv6/xfrm6_output.c @@ -36,7 +36,7 @@ static int xfrm6_tunnel_check_size(struct sk_buff *skb)  	if (mtu < IPV6_MIN_MTU)  		mtu = IPV6_MIN_MTU; -	if (skb->len > mtu) { +	if (!skb->local_df && skb->len > mtu) {  		skb->dev = dst->dev;  		icmpv6_send(skb, ICMPV6_PKT_TOOBIG, 0, mtu, skb->dev);  		ret = -EMSGSIZE;  |