Vlad Yasevich 73e6742027 sctp: Do not try to search for the transport twice
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@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-08-28 22:25:43 -07:00
..
2013-12-06 12:37:56 -05:00
2015-05-25 13:25:34 -04:00
2014-10-30 19:40:16 -04:00
2013-12-06 12:37:56 -05:00
2013-12-06 12:37:56 -05:00
2014-11-11 13:00:06 -05:00