Thread (11 messages) 11 messages, 4 authors, 2011-08-24

Re: [PATCH] bridge: Pseudo-header required for the checksum of ICMP6 header of MLD

flat view

From: David Miller <davem@davemloft.net>
Date: 2011-08-24 05:07:49

From: Ang Way Chuang <redacted>
Date: Wed, 24 Aug 2011 13:56:13 +0900
quoted hunk ↗ jump to hunk
@@ -1528,9 +1528,12 @@ static int br_multicast_ipv6_rcv(struct
net_bridge *br,
             break;
         /*FALLTHROUGH*/
     case CHECKSUM_NONE:
-        skb2->csum = 0;
-        if (skb_checksum_complete(skb2))
+ if (!skb_csum_unnecessary(skb2) && csum_ipv6_magic(&ip6h->saddr,
+ &ip6h->daddr, skb2->len, IPPROTO_ICMPV6,
Patch has been significantly corrupted by your email client, making
it unusable for us.

Please read linux/Documentation/email-clients.txt, email a test patch
to yourself, and only resend your patch to this list once you can
successfully apply such a patch yourself.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help