Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 41635
b: refs/heads/master
c: d3a1be9
h: refs/heads/master
i:
  41633: 40b5ec2
  41631: e9cf397
v: v3
  • Loading branch information
Brian Haley authored and David S. Miller committed Dec 3, 2006
1 parent 15b87e2 commit 01caff5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f465e489c457821751f6253abaaf28c10f9d8895
refs/heads/master: d3a1be9cba86c4385a5fe46673bbb4730551f454
2 changes: 0 additions & 2 deletions trunk/net/ipv6/icmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion trunk/net/ipv6/raw.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 01caff5

Please sign in to comment.