From: Vlad Yasevich Date: Tue, 26 Apr 2011 21:51:31 +0000 (+0000) Subject: sctp: cache the ipv6 source after route lookup X-Git-Tag: v3.0-rc1~377^2~234 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9914ae3ca770389a3bec3114d0a07532a7f235dd;p=pandora-kernel.git sctp: cache the ipv6 source after route lookup The ipv6 routing lookup does give us a source address, but instead of filling it into the dst, it's stored in the flowi. We can use that instead of going through the entire source address selection again. Also the useless ->dst_saddr member of sctp_pf is removed. And sctp_v6_dst_saddr() is removed, instead by introduce sctp_v6_to_addr(), which can be reused to cleanup some dup code. Signed-off-by: Vlad Yasevich Signed-off-by: Wei Yongjun Signed-off-by: David S. Miller --- Reading git-diff-tree failed