]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit817fd6528cb59a9b447a5c8e26a019ea95c02b1a
treec49db4463d586cf5ace0139acb293af54fa101e3
parent9de189ad8f7bb8866fbcb3fb6555b9d92127a8e0
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