diff options
Diffstat (limited to 'net/ipv6/icmp.c')
-rw-r--r-- | net/ipv6/icmp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/ipv6/icmp.c b/net/ipv6/icmp.c index eb9abe24bdf0..a00c18aa6c8d 100644 --- a/net/ipv6/icmp.c +++ b/net/ipv6/icmp.c | |||
@@ -482,6 +482,7 @@ route_done: | |||
482 | np->tclass, NULL, &fl, (struct rt6_info*)dst, | 482 | np->tclass, NULL, &fl, (struct rt6_info*)dst, |
483 | MSG_DONTWAIT); | 483 | MSG_DONTWAIT); |
484 | if (err) { | 484 | if (err) { |
485 | ICMP6_INC_STATS_BH(net, idev, ICMP6_MIB_OUTMSGS); | ||
485 | ip6_flush_pending_frames(sk); | 486 | ip6_flush_pending_frames(sk); |
486 | goto out_put; | 487 | goto out_put; |
487 | } | 488 | } |
@@ -562,6 +563,7 @@ static void icmpv6_echo_reply(struct sk_buff *skb) | |||
562 | (struct rt6_info*)dst, MSG_DONTWAIT); | 563 | (struct rt6_info*)dst, MSG_DONTWAIT); |
563 | 564 | ||
564 | if (err) { | 565 | if (err) { |
566 | ICMP6_INC_STATS_BH(net, idev, ICMP6_MIB_OUTMSGS); | ||
565 | ip6_flush_pending_frames(sk); | 567 | ip6_flush_pending_frames(sk); |
566 | goto out_put; | 568 | goto out_put; |
567 | } | 569 | } |