diff for duplicates of <514087F3.5080601@gmail.com> diff --git a/a/1.txt b/N1/1.txt index 8996fa9..1f1648a 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -31,9 +31,9 @@ On 03/13/2013 09:28 AM, Neil Horman wrote: >>>>> @@ -513,8 +513,11 @@ void sctp_assoc_set_primary(struct sctp_association *asoc, >>>>> * user wants to use this new path. >>>>> */ ->>>>> if ((transport->state = SCTP_ACTIVE) || ->>>>> - (transport->state = SCTP_UNKNOWN)) ->>>>> + (transport->state = SCTP_UNKNOWN)) { +>>>>> if ((transport->state == SCTP_ACTIVE) || +>>>>> - (transport->state == SCTP_UNKNOWN)) +>>>>> + (transport->state == SCTP_UNKNOWN)) { >>>>> + list_del_rcu(&transport->transports); >>>>> + list_add_rcu(&transport->transports, &asoc->peer.transport_addr_list); >>>>> asoc->peer.active_path = transport; diff --git a/a/content_digest b/N1/content_digest index 115a276..81dfe58 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -6,7 +6,7 @@ "ref\020130313132809.GA17592@hmsreliant.think-freely.org\0" "From\0Vlad Yasevich <vyasevich@gmail.com>\0" "Subject\0Re: [PATCH] sctp: optimize searching the active path for tsns\0" - "Date\0Wed, 13 Mar 2013 14:06:43 +0000\0" + "Date\0Wed, 13 Mar 2013 10:06:43 -0400\0" "To\0Neil Horman <nhorman@tuxdriver.com>\0" "Cc\0linux-sctp@vger.kernel.org <linux-sctp@vger.kernel.org>" Xufeng Zhang <xufengzhang.main@gmail.com> @@ -47,9 +47,9 @@ ">>>>> @@ -513,8 +513,11 @@ void sctp_assoc_set_primary(struct sctp_association *asoc,\n" ">>>>> \t * user wants to use this new path.\n" ">>>>> \t */\n" - ">>>>> \tif ((transport->state = SCTP_ACTIVE) ||\n" - ">>>>> -\t (transport->state = SCTP_UNKNOWN))\n" - ">>>>> +\t (transport->state = SCTP_UNKNOWN)) {\n" + ">>>>> \tif ((transport->state == SCTP_ACTIVE) ||\n" + ">>>>> -\t (transport->state == SCTP_UNKNOWN))\n" + ">>>>> +\t (transport->state == SCTP_UNKNOWN)) {\n" ">>>>> +\t\tlist_del_rcu(&transport->transports);\n" ">>>>> +\t\tlist_add_rcu(&transport->transports, &asoc->peer.transport_addr_list);\n" ">>>>> \t\tasoc->peer.active_path = transport;\n" @@ -110,4 +110,4 @@ "\n" -vlad -c7372ede80dc0f1f1d3e4916fd697a9140da2cba53cfa40b4239ea3a3cb827a6 +9883e5c93a55e7e85b04948e1901cd8829788ae790cfacf95169b12ba45e6be6
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.