diff for duplicates of <1489843045.2456.2.camel@redhat.com> diff --git a/a/1.txt b/N1/1.txt index 0f29b24..49c5829 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -109,11 +109,11 @@ davide + + switch (vlan_get_protocol(skb)) { + case ntohs(ETH_P_IP): -+ if (ip_hdr(skb)->protocol = IPPROTO_SCTP) ++ if (ip_hdr(skb)->protocol == IPPROTO_SCTP) + goto crc32c_csum; + break; + case ntohs(ETH_P_IPV6): -+ if (ipv6_find_hdr(skb, &offset, IPPROTO_SCTP, NULL, NULL) = ++ if (ipv6_find_hdr(skb, &offset, IPPROTO_SCTP, NULL, NULL) == + IPPROTO_SCTP) + goto crc32c_csum; + break; @@ -134,7 +134,7 @@ davide skb_checksum_start_offset(skb)); - if (!(features & NETIF_F_CSUM_MASK) && - skb_checksum_help(skb)) -+ if (skb_csum_hwoffload_help(skb, features) = false) ++ if (skb_csum_hwoffload_help(skb, features) == false) goto out_kfree_skb; } } diff --git a/a/content_digest b/N1/content_digest index 8cfcb80..f880602 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -5,7 +5,7 @@ "ref\0CAKgT0Uf6i+TmMyywgT7-X=n+P+a4_U1Z+Qrts7v1=v79MPsS+w@mail.gmail.com\0" "From\0Davide Caratti <dcaratti@redhat.com>\0" "Subject\0Re: [PATCH RFC net-next v2 1/4] skbuff: add stub to help computing crc32c on SCTP packets\0" - "Date\0Sat, 18 Mar 2017 13:17:25 +0000\0" + "Date\0Sat, 18 Mar 2017 14:17:25 +0100\0" "To\0Alexander Duyck <alexander.duyck@gmail.com>\0" "Cc\0David Laight <David.Laight@aculab.com>" Tom Herbert <tom@herbertland.com> @@ -126,11 +126,11 @@ "+\n" "+\tswitch (vlan_get_protocol(skb)) {\n" "+\tcase ntohs(ETH_P_IP):\n" - "+\t\tif (ip_hdr(skb)->protocol = IPPROTO_SCTP)\n" + "+\t\tif (ip_hdr(skb)->protocol == IPPROTO_SCTP)\n" "+\t\t\tgoto crc32c_csum;\n" "+\t\tbreak;\n" "+\tcase ntohs(ETH_P_IPV6):\n" - "+\t\tif (ipv6_find_hdr(skb, &offset, IPPROTO_SCTP, NULL, NULL) =\n" + "+\t\tif (ipv6_find_hdr(skb, &offset, IPPROTO_SCTP, NULL, NULL) ==\n" "+\t\t IPPROTO_SCTP)\n" "+\t\t\tgoto crc32c_csum;\n" "+\t\tbreak;\n" @@ -151,9 +151,9 @@ " \t\t\t\t\t\t\t skb_checksum_start_offset(skb));\n" "-\t\t\tif (!(features & NETIF_F_CSUM_MASK) &&\n" "-\t\t\t skb_checksum_help(skb))\n" - "+\t\t\tif (skb_csum_hwoffload_help(skb, features) = false)\n" + "+\t\t\tif (skb_csum_hwoffload_help(skb, features) == false)\n" " \t\t\t\tgoto out_kfree_skb;\n" " \t\t}\n" " \t}" -9e2b40884c313fbbb199e285a810efaf38f696e9f957c29abe6c379ad3d6ad94 +401890e2cb9843b79bd1269fe7e405838e0889e425608fce52f73b09461c63ae
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.