All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20190611114429.GB3436@localhost.localdomain>

diff --git a/a/1.txt b/N1/1.txt
index a9ce83f..69d439d 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -33,7 +33,8 @@ patch also.
 > +++ b/net/sctp/sm_make_chunk.c
 > @@ -2583,6 +2583,8 @@ static int sctp_process_param(struct sctp_association *asoc,
 >  	case SCTP_PARAM_STATE_COOKIE:
->  		asoc->peer.cookie_len >  			ntohs(param.p->length) - sizeof(struct sctp_paramhdr);
+>  		asoc->peer.cookie_len =
+>  			ntohs(param.p->length) - sizeof(struct sctp_paramhdr);
 > +		if (asoc->peer.cookie)
 > +			kfree(asoc->peer.cookie);
 >  		asoc->peer.cookie = kmemdup(param.cookie->body, asoc->peer.cookie_len, gfp);
diff --git a/a/content_digest b/N1/content_digest
index 2c24f28..332dd3f 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -2,7 +2,7 @@
  "ref\020190611112128.27057-1-nhorman@tuxdriver.com\0"
  "From\0Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>\0"
  "Subject\0Re: [PATCH v2] [net] Free cookie before we memdup a new one\0"
- "Date\0Tue, 11 Jun 2019 11:44:29 +0000\0"
+ "Date\0Tue, 11 Jun 2019 08:44:29 -0300\0"
  "To\0Neil Horman <nhorman@tuxdriver.com>\0"
  "Cc\0linux-sctp@vger.kernel.org"
   netdev@vger.kernel.org
@@ -45,7 +45,8 @@
  "> +++ b/net/sctp/sm_make_chunk.c\n"
  "> @@ -2583,6 +2583,8 @@ static int sctp_process_param(struct sctp_association *asoc,\n"
  ">  \tcase SCTP_PARAM_STATE_COOKIE:\n"
- ">  \t\tasoc->peer.cookie_len >  \t\t\tntohs(param.p->length) - sizeof(struct sctp_paramhdr);\n"
+ ">  \t\tasoc->peer.cookie_len =\n"
+ ">  \t\t\tntohs(param.p->length) - sizeof(struct sctp_paramhdr);\n"
  "> +\t\tif (asoc->peer.cookie)\n"
  "> +\t\t\tkfree(asoc->peer.cookie);\n"
  ">  \t\tasoc->peer.cookie = kmemdup(param.cookie->body, asoc->peer.cookie_len, gfp);\n"
@@ -73,4 +74,4 @@
  "> 2.20.1\n"
  >
 
-d31895ac7cd7a2139bd8df9cbacababb366ca624cc0124f401413218c8289819
+a6a63cfee81deb5df7df8e89f3ff4ff4c4737cabbd9f16c4b99bdf06eb7d51a0

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.