All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <2ddbb6da514108b4e70ccd8362292134@codeaurora.org>

diff --git a/a/1.txt b/N1/1.txt
index d37059c..625d9cc 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -8,9 +8,9 @@
 >  	skb_pull(skb, packet_len);
 > 
 >  	/* Some hardware can send us empty frames. Catch them */
-> -	if (ntohs(maph->pkt_len) = 0) {
+> -	if (ntohs(maph->pkt_len) == 0) {
 > -		kfree_skb(skb);
-> +	if (ntohs(maph->pkt_len) = 0)
+> +	if (ntohs(maph->pkt_len) == 0)
 >  		return NULL;
 > -	}
 > 
@@ -32,7 +32,7 @@ index 557c9bf..86b8c75 100644
                  return NULL;
 
 +       /* Some hardware can send us empty frames. Catch them */
-+       if (ntohs(maph->pkt_len) = 0)
++       if (ntohs(maph->pkt_len) == 0)
 +               return NULL;
 +
          skbn = alloc_skb(packet_len + RMNET_MAP_DEAGGR_SPACING, 
@@ -45,7 +45,7 @@ GFP_ATOMIC);
          skb_pull(skb, packet_len);
 
 -       /* Some hardware can send us empty frames. Catch them */
--       if (ntohs(maph->pkt_len) = 0) {
+-       if (ntohs(maph->pkt_len) == 0) {
 -               kfree_skb(skb);
 -               return NULL;
 -       }
diff --git a/a/content_digest b/N1/content_digest
index 5e01246..29158a6 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,7 +1,7 @@
  "ref\020170908102356.tzysh6qaiesd2umz@mwanda\0"
  "From\0Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>\0"
  "Subject\0Re: [PATCH net] net: qualcomm: rmnet: Fix a double free\0"
- "Date\0Fri, 08 Sep 2017 19:44:52 +0000\0"
+ "Date\0Fri, 08 Sep 2017 13:44:52 -0600\0"
  "To\0Dan Carpenter <dan.carpenter@oracle.com>\0"
  "Cc\0David S. Miller <davem@davemloft.net>"
   netdev@vger.kernel.org
@@ -18,9 +18,9 @@
  ">  \tskb_pull(skb, packet_len);\n"
  "> \n"
  ">  \t/* Some hardware can send us empty frames. Catch them */\n"
- "> -\tif (ntohs(maph->pkt_len) = 0) {\n"
+ "> -\tif (ntohs(maph->pkt_len) == 0) {\n"
  "> -\t\tkfree_skb(skb);\n"
- "> +\tif (ntohs(maph->pkt_len) = 0)\n"
+ "> +\tif (ntohs(maph->pkt_len) == 0)\n"
  ">  \t\treturn NULL;\n"
  "> -\t}\n"
  "> \n"
@@ -42,7 +42,7 @@
  "                 return NULL;\n"
  "\n"
  "+       /* Some hardware can send us empty frames. Catch them */\n"
- "+       if (ntohs(maph->pkt_len) = 0)\n"
+ "+       if (ntohs(maph->pkt_len) == 0)\n"
  "+               return NULL;\n"
  "+\n"
  "         skbn = alloc_skb(packet_len + RMNET_MAP_DEAGGR_SPACING, \n"
@@ -55,7 +55,7 @@
  "         skb_pull(skb, packet_len);\n"
  "\n"
  "-       /* Some hardware can send us empty frames. Catch them */\n"
- "-       if (ntohs(maph->pkt_len) = 0) {\n"
+ "-       if (ntohs(maph->pkt_len) == 0) {\n"
  "-               kfree_skb(skb);\n"
  "-               return NULL;\n"
  "-       }\n"
@@ -69,4 +69,4 @@
  "The Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a \n"
  Linux Foundation Collaborative Project
 
-0dd727c8314e57cf46ef7c69ec6c2604048ca58c50ca6e8cdd7d28d4b7709ec6
+38c4b53f1bc6ca1bd6ca215aeb4b40c61c93c426547681d3f14797284842422a

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.