sctp: Move sctp_v4_dst_saddr out of loop
authorGui Jianfeng <guijianfeng@cn.fujitsu.com>
Wed, 4 Jun 2008 19:38:07 +0000 (12:38 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Jun 2008 19:38:07 +0000 (12:38 -0700)
commit159c6bea37c54dfae44409467e0f17600722d541
treeddac63124db30839630ca46d55688fd8cef3f1f1
parent4141ddc02a92a6e3e5793601554c6033e83c25b9
sctp: Move sctp_v4_dst_saddr out of loop

There's no need to execute sctp_v4_dst_saddr() for each
iteration, just move it out of loop.

Signed-off-by: Gui Jianfeng <guijianfeng@cn.fujitsu.com>
Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/protocol.c