[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150828.222653.1927768559958135366.davem@davemloft.net>
Date: Fri, 28 Aug 2015 22:26:53 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: vyasevich@...il.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net] sctp: Do not try to search for the transport twice
From: Vladislav Yasevich <vyasevich@...il.com>
Date: Fri, 28 Aug 2015 21:23:39 -0400
> When removing an non-primary transport during ASCONF
> processing, we end up traversing the transport list
> twice: once in sctp_cmd_del_non_primary, and once in
> sctp_assoc_del_peer. We can avoid the second
> search and call sctp_assoc_rm_peer() instead.
> Found by code inspection during code reviews.
>
> Signed-off-by: Vladislav Yasevich <vyasevich@...il.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists