|
@@ -520,7 +520,7 @@ static void icmp6_send(struct sk_buff *skb, u8 type, u8 code, __u32 info)
|
|
np->tclass, NULL, &fl6, (struct rt6_info *)dst,
|
|
np->tclass, NULL, &fl6, (struct rt6_info *)dst,
|
|
MSG_DONTWAIT, np->dontfrag);
|
|
MSG_DONTWAIT, np->dontfrag);
|
|
if (err) {
|
|
if (err) {
|
|
- ICMP6_INC_STATS_BH(net, idev, ICMP6_MIB_OUTERRORS);
|
|
|
|
|
|
+ ICMP6_INC_STATS(net, idev, ICMP6_MIB_OUTERRORS);
|
|
ip6_flush_pending_frames(sk);
|
|
ip6_flush_pending_frames(sk);
|
|
} else {
|
|
} else {
|
|
err = icmpv6_push_pending_frames(sk, &fl6, &tmp_hdr,
|
|
err = icmpv6_push_pending_frames(sk, &fl6, &tmp_hdr,
|