diff for duplicates of <20160129194213.GF6604@mrl.redhat.com> diff --git a/a/1.txt b/N1/1.txt index 75ee9ef..c061b7d 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -105,7 +105,7 @@ like the one for 0xFFFF you said. I can replace it, 0xFFFF is better. > > BUILD_BUG_ON(SKB_GSO_TUNNEL_REMCSUM != (NETIF_F_GSO_TUNNEL_REMCSUM >> NETIF_F_GSO_SHIFT)); > > + BUILD_BUG_ON(SKB_GSO_SCTP != (NETIF_F_GSO_SCTP >> NETIF_F_GSO_SHIFT)); > > -> > return (features & feature) = feature; +> > return (features & feature) == feature; > > } > > diff --git a/net/core/dev.c b/net/core/dev.c > > index 8cba3d852f251c503b193823b71b27aaef3fb3ae..9583284086967c0746de5f553535e25e125714a5 100644 @@ -122,7 +122,7 @@ like the one for 0xFFFF you said. I can replace it, 0xFFFF is better. > > + return skb->ip_summed != CHECKSUM_PARTIAL && > > + skb->ip_summed != CHECKSUM_UNNECESSARY; > > else -> > return skb->ip_summed = CHECKSUM_NONE; +> > return skb->ip_summed == CHECKSUM_NONE; > > } > > Tom Herbert just got rid of the use of CHECKSUM_UNNECESSARY in the @@ -146,7 +146,7 @@ skb_needs_check() seems to be like that since beginning. > > + * shinfo->txflags is better for this flag, but > > + * we need to expand it then > > + */ -> > + if (mss = 1) +> > + if (mss == 1) > > + len = list_skb->len; > > + else > > + len = mss; diff --git a/a/content_digest b/N1/content_digest index f539ca3..9e7452b 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -3,7 +3,7 @@ "ref\0CAKgT0Ufaga3ki-0Dv58Lk-_gjo18FAcFfBobyWcWQgae+jsr+Q@mail.gmail.com\0" "From\0Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>\0" "Subject\0Re: [RFC PATCH net-next 3/3] sctp: Add GSO support\0" - "Date\0Fri, 29 Jan 2016 19:42:13 +0000\0" + "Date\0Fri, 29 Jan 2016 17:42:13 -0200\0" "To\0Alexander Duyck <alexander.duyck@gmail.com>\0" "Cc\0Netdev <netdev@vger.kernel.org>" Neil Horman <nhorman@tuxdriver.com> @@ -128,7 +128,7 @@ "> > BUILD_BUG_ON(SKB_GSO_TUNNEL_REMCSUM != (NETIF_F_GSO_TUNNEL_REMCSUM >> NETIF_F_GSO_SHIFT));\n" "> > + BUILD_BUG_ON(SKB_GSO_SCTP != (NETIF_F_GSO_SCTP >> NETIF_F_GSO_SHIFT));\n" "> >\n" - "> > return (features & feature) = feature;\n" + "> > return (features & feature) == feature;\n" "> > }\n" "> > diff --git a/net/core/dev.c b/net/core/dev.c\n" "> > index 8cba3d852f251c503b193823b71b27aaef3fb3ae..9583284086967c0746de5f553535e25e125714a5 100644\n" @@ -145,7 +145,7 @@ "> > + return skb->ip_summed != CHECKSUM_PARTIAL &&\n" "> > + skb->ip_summed != CHECKSUM_UNNECESSARY;\n" "> > else\n" - "> > return skb->ip_summed = CHECKSUM_NONE;\n" + "> > return skb->ip_summed == CHECKSUM_NONE;\n" "> > }\n" "> \n" "> Tom Herbert just got rid of the use of CHECKSUM_UNNECESSARY in the\n" @@ -169,7 +169,7 @@ "> > + * shinfo->txflags is better for this flag, but\n" "> > + * we need to expand it then\n" "> > + */\n" - "> > + if (mss = 1)\n" + "> > + if (mss == 1)\n" "> > + len = list_skb->len;\n" "> > + else\n" "> > + len = mss;\n" @@ -318,4 +318,4 @@ "Thanks,\n" Marcelo -db567f71867b2d71d047b70e2ac8cefbb110c094745af733ad487ba1b89b3082 +db3d756e6a103ea4ae564a865c96bac06a310a599d03068b54600086c24b51f2
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.