sctp: clean up route lookup calls
authorVlad Yasevich <vladislav.yasevich@hp.com>
Tue, 26 Apr 2011 21:54:17 +0000 (21:54 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 Apr 2011 20:14:06 +0000 (13:14 -0700)
commitda0420bee24a1ba54e55a61e95b1a53205d7e62d
treeb17401ad5e6d97f8e3c8649725d5ca0a20e1b765
parentaf1384703f8a4ff3d245925d6596ef1c5c6e469e
sctp: clean up route lookup calls

Change the call to take the transport parameter and set the
cached 'dst' appropriately inside the get_dst() function calls.

This will allow us in the future  to clean up source address
storage as well.

Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sctp/structs.h
net/sctp/ipv6.c
net/sctp/protocol.c
net/sctp/transport.c