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

diff --git a/a/1.txt b/N1/1.txt
index 0cf9d9f..916eb1b 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -58,7 +58,7 @@ Acked-by: Marcelo R. Leitner <marcelo.leitner@gmail.com>
 > @@ -591,7 +589,7 @@ void sctp_retransmit(struct sctp_outq *q, struct sctp_transport *transport,
 >  	 * following the procedures outlined in C1 - C5.
 >  	 */
->  	if (reason = SCTP_RTXR_T3_RTX)
+>  	if (reason == SCTP_RTXR_T3_RTX)
 > -		sctp_generate_fwdtsn(q, q->asoc->ctsn_ack_point);
 > +		q->asoc->stream.si->generate_ftsn(q, q->asoc->ctsn_ack_point);
 >  
@@ -76,9 +76,9 @@ Acked-by: Marcelo R. Leitner <marcelo.leitner@gmail.com>
 >  			 * sender MUST assure that at least one T3-rtx
 >  			 * timer is running.
 >  			 */
-> -			if (chunk->chunk_hdr->type = SCTP_CID_FWD_TSN) {
-> +			if (chunk->chunk_hdr->type = SCTP_CID_FWD_TSN ||
-> +			    chunk->chunk_hdr->type = SCTP_CID_I_FWD_TSN) {
+> -			if (chunk->chunk_hdr->type == SCTP_CID_FWD_TSN) {
+> +			if (chunk->chunk_hdr->type == SCTP_CID_FWD_TSN ||
+> +			    chunk->chunk_hdr->type == SCTP_CID_I_FWD_TSN) {
 >  				sctp_transport_reset_t3_rtx(transport);
 >  				transport->last_time_sent = jiffies;
 >  			}
@@ -114,8 +114,8 @@ Acked-by: Marcelo R. Leitner <marcelo.leitner@gmail.com>
 > +	int i;
 > +
 > +	for (i = 0; i < nskips; i++)
-> +		if (skiplist[i].stream = stream &&
-> +		    skiplist[i].flags = flags)
+> +		if (skiplist[i].stream == stream &&
+> +		    skiplist[i].flags == flags)
 > +			return i;
 > +
 > +	return i;
@@ -160,9 +160,9 @@ Acked-by: Marcelo R. Leitner <marcelo.leitner@gmail.com>
 > +			ftsn_skip_arr[skip_pos].reserved = 0;
 > +			ftsn_skip_arr[skip_pos].flags = flags;
 > +			ftsn_skip_arr[skip_pos].mid = mid;
-> +			if (skip_pos = nskips)
+> +			if (skip_pos == nskips)
 > +				nskips++;
-> +			if (nskips = 10)
+> +			if (nskips == 10)
 > +				break;
 > +		} else {
 > +			break;
diff --git a/a/content_digest b/N1/content_digest
index 9b321df..21cf049 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -2,7 +2,7 @@
  "ref\05982a46414cdea7856ee17683c5a714b411c7eb4.1513269224.git.lucien.xin@gmail.com\0"
  "From\0Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>\0"
  "Subject\0Re: [PATCHv2 net-next 2/8] sctp: implement generate_ftsn for sctp_stream_interleave\0"
- "Date\0Thu, 14 Dec 2017 18:25:51 +0000\0"
+ "Date\0Thu, 14 Dec 2017 16:25:51 -0200\0"
  "To\0Xin Long <lucien.xin@gmail.com>\0"
  "Cc\0network dev <netdev@vger.kernel.org>"
   linux-sctp@vger.kernel.org
@@ -70,7 +70,7 @@
  "> @@ -591,7 +589,7 @@ void sctp_retransmit(struct sctp_outq *q, struct sctp_transport *transport,\n"
  ">  \t * following the procedures outlined in C1 - C5.\n"
  ">  \t */\n"
- ">  \tif (reason = SCTP_RTXR_T3_RTX)\n"
+ ">  \tif (reason == SCTP_RTXR_T3_RTX)\n"
  "> -\t\tsctp_generate_fwdtsn(q, q->asoc->ctsn_ack_point);\n"
  "> +\t\tq->asoc->stream.si->generate_ftsn(q, q->asoc->ctsn_ack_point);\n"
  ">  \n"
@@ -88,9 +88,9 @@
  ">  \t\t\t * sender MUST assure that at least one T3-rtx\n"
  ">  \t\t\t * timer is running.\n"
  ">  \t\t\t */\n"
- "> -\t\t\tif (chunk->chunk_hdr->type = SCTP_CID_FWD_TSN) {\n"
- "> +\t\t\tif (chunk->chunk_hdr->type = SCTP_CID_FWD_TSN ||\n"
- "> +\t\t\t    chunk->chunk_hdr->type = SCTP_CID_I_FWD_TSN) {\n"
+ "> -\t\t\tif (chunk->chunk_hdr->type == SCTP_CID_FWD_TSN) {\n"
+ "> +\t\t\tif (chunk->chunk_hdr->type == SCTP_CID_FWD_TSN ||\n"
+ "> +\t\t\t    chunk->chunk_hdr->type == SCTP_CID_I_FWD_TSN) {\n"
  ">  \t\t\t\tsctp_transport_reset_t3_rtx(transport);\n"
  ">  \t\t\t\ttransport->last_time_sent = jiffies;\n"
  ">  \t\t\t}\n"
@@ -126,8 +126,8 @@
  "> +\tint i;\n"
  "> +\n"
  "> +\tfor (i = 0; i < nskips; i++)\n"
- "> +\t\tif (skiplist[i].stream = stream &&\n"
- "> +\t\t    skiplist[i].flags = flags)\n"
+ "> +\t\tif (skiplist[i].stream == stream &&\n"
+ "> +\t\t    skiplist[i].flags == flags)\n"
  "> +\t\t\treturn i;\n"
  "> +\n"
  "> +\treturn i;\n"
@@ -172,9 +172,9 @@
  "> +\t\t\tftsn_skip_arr[skip_pos].reserved = 0;\n"
  "> +\t\t\tftsn_skip_arr[skip_pos].flags = flags;\n"
  "> +\t\t\tftsn_skip_arr[skip_pos].mid = mid;\n"
- "> +\t\t\tif (skip_pos = nskips)\n"
+ "> +\t\t\tif (skip_pos == nskips)\n"
  "> +\t\t\t\tnskips++;\n"
- "> +\t\t\tif (nskips = 10)\n"
+ "> +\t\t\tif (nskips == 10)\n"
  "> +\t\t\t\tbreak;\n"
  "> +\t\t} else {\n"
  "> +\t\t\tbreak;\n"
@@ -221,4 +221,4 @@
  "> More majordomo info at  http://vger.kernel.org/majordomo-info.html\n"
  >
 
-09dc637bce935dd43d23f66d850a42956da546d72d2e023c907d22bc096e4eaa
+8210f2f985d6193b60e935f934f9b9500fcf3e402565eada2a1fd91bbb86b97c

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.