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

diff --git a/a/1.txt b/N1/1.txt
index 42da40b..a396477 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -40,7 +40,8 @@ Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
 > +++ 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 cce50bc..97ff3ba 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -2,7 +2,7 @@
  "ref\020190613103559.2603-1-nhorman@tuxdriver.com\0"
  "From\0Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>\0"
  "Subject\0Re: [PATCH v5 net] sctp: Free cookie before we memdup a new one\0"
- "Date\0Thu, 13 Jun 2019 16:51:34 +0000\0"
+ "Date\0Thu, 13 Jun 2019 13:51:34 -0300\0"
  "To\0Neil Horman <nhorman@tuxdriver.com>\0"
  "Cc\0linux-sctp@vger.kernel.org"
   netdev@vger.kernel.org
@@ -53,7 +53,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"
@@ -90,4 +91,4 @@
  "> 2.20.1\n"
  >
 
-192a24a1229b0cad1526b967371ac7e3dce328fcfc2ccba14571f58b571e1c3e
+af04fc9934f35011888b29c6359af325c66bc58cdaac39734ffc0719c1e4cb43

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.