All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <513F5120.7090209@gmail.com>

diff --git a/a/1.txt b/N1/1.txt
index 1720e67..1f4cc81 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -23,12 +23,12 @@ On 03/12/2013 11:44 AM, Neil Horman wrote:
 >>>>>> sctp_association *asoc,
 >>>>>>   			transports) {
 >>>>>>
->>>>>>   		if (transport = active)
+>>>>>>   		if (transport == active)
 >>>>>> -			break;
 >>>>>> +			continue;
 >>>>>>   		list_for_each_entry(chunk, &transport->transmitted,
 >>>>>>   				transmitted_list) {
->>>>>>   			if (key = chunk->subh.data_hdr->tsn) {
+>>>>>>   			if (key == chunk->subh.data_hdr->tsn) {
 >>>>>> --
 >>>>>> 1.7.0.2
 >>>>>>
@@ -64,7 +64,7 @@ On 03/12/2013 11:44 AM, Neil Horman wrote:
 >>> I understand what you're doing, and I agree that the fix is functional (Hence
 >>> my "This works" statement in my last note).  What I'm suggesting is that, since
 >>> you're messing about in that code anyway that you clean it up while your at it,
->>> so that we don't need to have the if (transport = active) check at all.  We
+>>> so that we don't need to have the if (transport == active) check at all.  We
 >>> trade in some extra work in a non-critical path (sctp_assoc_set_primary), for
 >>> the removal of an extra for loop operation and a conditional check in a much
 >>> hotter path.  Something like this (completely untested), is what I was thinking
@@ -140,7 +140,7 @@ corner case).
 >>> -	list_for_each_entry(chunk, &active->transmitted,
 >>> -			transmitted_list) {
 >>> -
->>> -		if (key = chunk->subh.data_hdr->tsn) {
+>>> -		if (key == chunk->subh.data_hdr->tsn) {
 >>> -			match = active;
 >>> -			goto out;
 >>> -		}
@@ -150,11 +150,11 @@ corner case).
 >>>   	list_for_each_entry(transport, &asoc->peer.transport_addr_list,
 >>>   			transports) {
 >>>
->>> -		if (transport = active)
+>>> -		if (transport == active)
 >>> -			break;
 >>>   		list_for_each_entry(chunk, &transport->transmitted,
 >>>   				transmitted_list) {
->>>   			if (key = chunk->subh.data_hdr->tsn) {
+>>>   			if (key == chunk->subh.data_hdr->tsn) {
 >>>
 >>
 >>
diff --git a/a/content_digest b/N1/content_digest
index ee09960..850469c 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -5,8 +5,8 @@
  "ref\0513F1B76.2060603@gmail.com\0"
  "ref\020130312154427.GA5969@neilslaptop.think-freely.org\0"
  "From\0Vlad Yasevich <vyasevich@gmail.com>\0"
- "Subject\0Re: [PATCH] sctp: don't break the loop while meeting the active_path so as to find the matched trans\0"
- "Date\0Tue, 12 Mar 2013 16:00:32 +0000\0"
+ "Subject\0Re: [PATCH] sctp: don't break the loop while meeting the active_path so as to find the matched transport\0"
+ "Date\0Tue, 12 Mar 2013 12:00:32 -0400\0"
  "To\0Neil Horman <nhorman@tuxdriver.com>\0"
  "Cc\0Xufeng Zhang <xufengzhang.main@gmail.com>"
   Xufeng Zhang <xufeng.zhang@windriver.com>
@@ -41,12 +41,12 @@
  ">>>>>> sctp_association *asoc,\n"
  ">>>>>>   \t\t\ttransports) {\n"
  ">>>>>>\n"
- ">>>>>>   \t\tif (transport = active)\n"
+ ">>>>>>   \t\tif (transport == active)\n"
  ">>>>>> -\t\t\tbreak;\n"
  ">>>>>> +\t\t\tcontinue;\n"
  ">>>>>>   \t\tlist_for_each_entry(chunk, &transport->transmitted,\n"
  ">>>>>>   \t\t\t\ttransmitted_list) {\n"
- ">>>>>>   \t\t\tif (key = chunk->subh.data_hdr->tsn) {\n"
+ ">>>>>>   \t\t\tif (key == chunk->subh.data_hdr->tsn) {\n"
  ">>>>>> --\n"
  ">>>>>> 1.7.0.2\n"
  ">>>>>>\n"
@@ -82,7 +82,7 @@
  ">>> I understand what you're doing, and I agree that the fix is functional (Hence\n"
  ">>> my \"This works\" statement in my last note).  What I'm suggesting is that, since\n"
  ">>> you're messing about in that code anyway that you clean it up while your at it,\n"
- ">>> so that we don't need to have the if (transport = active) check at all.  We\n"
+ ">>> so that we don't need to have the if (transport == active) check at all.  We\n"
  ">>> trade in some extra work in a non-critical path (sctp_assoc_set_primary), for\n"
  ">>> the removal of an extra for loop operation and a conditional check in a much\n"
  ">>> hotter path.  Something like this (completely untested), is what I was thinking\n"
@@ -158,7 +158,7 @@
  ">>> -\tlist_for_each_entry(chunk, &active->transmitted,\n"
  ">>> -\t\t\ttransmitted_list) {\n"
  ">>> -\n"
- ">>> -\t\tif (key = chunk->subh.data_hdr->tsn) {\n"
+ ">>> -\t\tif (key == chunk->subh.data_hdr->tsn) {\n"
  ">>> -\t\t\tmatch = active;\n"
  ">>> -\t\t\tgoto out;\n"
  ">>> -\t\t}\n"
@@ -168,13 +168,13 @@
  ">>>   \tlist_for_each_entry(transport, &asoc->peer.transport_addr_list,\n"
  ">>>   \t\t\ttransports) {\n"
  ">>>\n"
- ">>> -\t\tif (transport = active)\n"
+ ">>> -\t\tif (transport == active)\n"
  ">>> -\t\t\tbreak;\n"
  ">>>   \t\tlist_for_each_entry(chunk, &transport->transmitted,\n"
  ">>>   \t\t\t\ttransmitted_list) {\n"
- ">>>   \t\t\tif (key = chunk->subh.data_hdr->tsn) {\n"
+ ">>>   \t\t\tif (key == chunk->subh.data_hdr->tsn) {\n"
  ">>>\n"
  ">>\n"
  >>
 
-0b08d335fee375c015ff7429282966864ff02facdae88f855baede58ead6947d
+cd5f4a6b04757771715d179c9e2a5d5499556b6f63cd3957afc7b228354a8ff1

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.