All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <482CD78F.2070308@cn.fujitsu.com>

diff --git a/a/1.txt b/N1/1.txt
index 68c2b20..e5fbc36 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -14,7 +14,7 @@ index d29f792..4ae1f8b 100644
  	struct list_head *head = &asoc->peer.transport_addr_list;
  	struct list_head *pos;
  
-+	if (asoc->peer.transport_count = 1)
++	if (asoc->peer.transport_count == 1)
 +		return;
 +
  	/* Find the next transport in a round-robin fashion. */
@@ -28,14 +28,14 @@ index d29f792..4ae1f8b 100644
 +		 * other active transports.  If so, use the next
 +		 * transport.
 +		 */
-+		if (t = asoc->peer.retran_path) {
++		if (t == asoc->peer.retran_path) {
 +			t = next;
 +			break;
 +		}
 +
  		/* Try to find an active transport. */
  
- 		if ((t->state = SCTP_ACTIVE) ||
+ 		if ((t->state == SCTP_ACTIVE) ||
 @@ -1234,15 +1246,6 @@ void sctp_assoc_update_retran_path(struct sctp_association *asoc)
  			if (!next)
  				next = t;
@@ -45,7 +45,7 @@ index d29f792..4ae1f8b 100644
 -		 * other active transports.  If so, use the next
 -		 * transport.
 -		 */
--		if (t = asoc->peer.retran_path) {
+-		if (t == asoc->peer.retran_path) {
 -			t = next;
 -			break;
 -		}
diff --git a/a/content_digest b/N1/content_digest
index 5786cb6..cc08358 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,6 +1,6 @@
  "From\0Gui Jianfeng <guijianfeng@cn.fujitsu.com>\0"
  "Subject\0[PATCH] [SCTP] retran_path update bug fix\0"
- "Date\0Fri, 16 May 2008 00:38:39 +0000\0"
+ "Date\0Fri, 16 May 2008 08:38:39 +0800\0"
  "To\0linux-sctp@vger.kernel.org"
  " vladislav <vladislav.yasevich@hp.com>\0"
  "Cc\0David Miller <davem@davemloft.net>"
@@ -23,7 +23,7 @@
  " \tstruct list_head *head = &asoc->peer.transport_addr_list;\n"
  " \tstruct list_head *pos;\n"
  " \n"
- "+\tif (asoc->peer.transport_count = 1)\n"
+ "+\tif (asoc->peer.transport_count == 1)\n"
  "+\t\treturn;\n"
  "+\n"
  " \t/* Find the next transport in a round-robin fashion. */\n"
@@ -37,14 +37,14 @@
  "+\t\t * other active transports.  If so, use the next\n"
  "+\t\t * transport.\n"
  "+\t\t */\n"
- "+\t\tif (t = asoc->peer.retran_path) {\n"
+ "+\t\tif (t == asoc->peer.retran_path) {\n"
  "+\t\t\tt = next;\n"
  "+\t\t\tbreak;\n"
  "+\t\t}\n"
  "+\n"
  " \t\t/* Try to find an active transport. */\n"
  " \n"
- " \t\tif ((t->state = SCTP_ACTIVE) ||\n"
+ " \t\tif ((t->state == SCTP_ACTIVE) ||\n"
  "@@ -1234,15 +1246,6 @@ void sctp_assoc_update_retran_path(struct sctp_association *asoc)\n"
  " \t\t\tif (!next)\n"
  " \t\t\t\tnext = t;\n"
@@ -54,7 +54,7 @@
  "-\t\t * other active transports.  If so, use the next\n"
  "-\t\t * transport.\n"
  "-\t\t */\n"
- "-\t\tif (t = asoc->peer.retran_path) {\n"
+ "-\t\tif (t == asoc->peer.retran_path) {\n"
  "-\t\t\tt = next;\n"
  "-\t\t\tbreak;\n"
  "-\t\t}\n"
@@ -64,4 +64,4 @@
  "-- \n"
  1.5.3
 
-5619e92a3a7b8e0bcf0d89e133011ae48923e89fc7c8af85bd604095133a5c36
+2503d86a970b566fa13566b8d48341e96ce2f1e7b533ebdb9683b9a6f341d899

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.