aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/ipv6/ip6_output.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/ipv6/ip6_output.c b/net/ipv6/ip6_output.c
index 906b7e6dd7fb..c953825f9098 100644
--- a/net/ipv6/ip6_output.c
+++ b/net/ipv6/ip6_output.c
@@ -242,9 +242,8 @@ int ip6_xmit(struct sock *sk, struct sk_buff *skb, struct flowi6 *fl6,
242 dst->dev, dst_output); 242 dst->dev, dst_output);
243 } 243 }
244 244
245 net_dbg_ratelimited("IPv6: sending pkt_too_big to self\n");
246 skb->dev = dst->dev; 245 skb->dev = dst->dev;
247 icmpv6_send(skb, ICMPV6_PKT_TOOBIG, 0, mtu); 246 ipv6_local_error(sk, EMSGSIZE, fl6, mtu);
248 IP6_INC_STATS(net, ip6_dst_idev(skb_dst(skb)), IPSTATS_MIB_FRAGFAILS); 247 IP6_INC_STATS(net, ip6_dst_idev(skb_dst(skb)), IPSTATS_MIB_FRAGFAILS);
249 kfree_skb(skb); 248 kfree_skb(skb);
250 return -EMSGSIZE; 249 return -EMSGSIZE;