diff --git a/[refs] b/[refs] index 8f9f5f2d4306..20dd2eb1f4aa 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: f465e489c457821751f6253abaaf28c10f9d8895 +refs/heads/master: d3a1be9cba86c4385a5fe46673bbb4730551f454 diff --git a/trunk/net/ipv6/icmp.c b/trunk/net/ipv6/icmp.c index 52cca93ff2f8..bd51847acd57 100644 --- a/trunk/net/ipv6/icmp.c +++ b/trunk/net/ipv6/icmp.c @@ -247,8 +247,6 @@ static int icmpv6_push_pending_frames(struct sock *sk, struct flowi *fl, struct len, fl->proto, tmp_csum); icmp6h->icmp6_cksum = tmp_csum; } - if (icmp6h->icmp6_cksum == 0) - icmp6h->icmp6_cksum = -1; ip6_push_pending_frames(sk); out: return err; diff --git a/trunk/net/ipv6/raw.c b/trunk/net/ipv6/raw.c index 18a90075f942..813fa1d96862 100644 --- a/trunk/net/ipv6/raw.c +++ b/trunk/net/ipv6/raw.c @@ -536,7 +536,7 @@ static int rawv6_push_pending_frames(struct sock *sk, struct flowi *fl, &fl->fl6_dst, total_len, fl->proto, tmp_csum); - if (tmp_csum == 0) + if (tmp_csum == 0 && fl->proto == IPPROTO_UDP) tmp_csum = -1; csum = tmp_csum;