|
@@ -482,6 +482,7 @@ void icmpv6_send(struct sk_buff *skb, u8 type, u8 code, __u32 info)
|
|
|
np->tclass, NULL, &fl, (struct rt6_info*)dst,
|
|
np->tclass, NULL, &fl, (struct rt6_info*)dst,
|
|
|
MSG_DONTWAIT);
|
|
MSG_DONTWAIT);
|
|
|
if (err) {
|
|
if (err) {
|
|
|
|
|
+ ICMP6_INC_STATS_BH(net, idev, ICMP6_MIB_OUTMSGS);
|
|
|
ip6_flush_pending_frames(sk);
|
|
ip6_flush_pending_frames(sk);
|
|
|
goto out_put;
|
|
goto out_put;
|
|
|
}
|
|
}
|
|
@@ -562,6 +563,7 @@ static void icmpv6_echo_reply(struct sk_buff *skb)
|
|
|
(struct rt6_info*)dst, MSG_DONTWAIT);
|
|
(struct rt6_info*)dst, MSG_DONTWAIT);
|
|
|
|
|
|
|
|
if (err) {
|
|
if (err) {
|
|
|
|
|
+ ICMP6_INC_STATS_BH(net, idev, ICMP6_MIB_OUTMSGS);
|
|
|
ip6_flush_pending_frames(sk);
|
|
ip6_flush_pending_frames(sk);
|
|
|
goto out_put;
|
|
goto out_put;
|
|
|
}
|
|
}
|