diff for duplicates of <5140ABEE.2020903@redhat.com> diff --git a/a/1.txt b/N1/1.txt index 7cd8dcb..a7354a5 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -33,9 +33,9 @@ On 03/13/2013 10:21 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 01051e0..0b8917b 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -8,7 +8,7 @@ "ref\020130313142104.GE17592@hmsreliant.think-freely.org\0" "From\0Vlad Yasevich <vyasevic@redhat.com>\0" "Subject\0Re: [PATCH] sctp: optimize searching the active path for tsns\0" - "Date\0Wed, 13 Mar 2013 16:40:14 +0000\0" + "Date\0Wed, 13 Mar 2013 12:40:14 -0400\0" "To\0Neil Horman <nhorman@tuxdriver.com>\0" "Cc\0Vlad Yasevich <vyasevich@gmail.com>" linux-sctp@vger.kernel.org <linux-sctp@vger.kernel.org> @@ -52,9 +52,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" @@ -171,4 +171,4 @@ "> More majordomo info at http://vger.kernel.org/majordomo-info.html\n" > -b249f880b5c3c8172560286a80eaf276198fe83e9415067c8948d11cf8d2f723 +5ec43f32a13c9e0eb8d598b90ae0f048b454835b8a057d52fabef18acd9ed623
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.