sctp: don't break the loop while meeting the active_path so as to find the matched...
authorXufeng Zhang <xufeng.zhang@windriver.com>
Thu, 7 Mar 2013 21:39:37 +0000 (21:39 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Mar 2013 14:09:55 +0000 (10:09 -0400)
commit2317f449af30073cfa6ec8352e4a65a89e357bdd
treec49db4463d586cf5ace0139acb293af54fa101e3
parentf2815633504b442ca0b0605c16bf3d88a3a0fcea
sctp: don't break the loop while meeting the active_path so as to find the matched transport

sctp_assoc_lookup_tsn() function searchs which transport a certain TSN
was sent on, if not found in the active_path transport, then go search
all the other transports in the peer's transport_addr_list, however, we
should continue to the next entry rather than break the loop when meet
the active_path transport.

Signed-off-by: Xufeng Zhang <xufeng.zhang@windriver.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Acked-by: Vlad Yasevich <vyasevich@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/associola.c