diff options
author | Vlad Yasevich <vladislav.yasevich@hp.com> | 2011-04-26 21:51:31 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-04-27 13:14:04 -0700 |
commit | 9914ae3ca770389a3bec3114d0a07532a7f235dd (patch) | |
tree | 269120740aa1afdb0dd792284341aaee93024f28 /include/crypto | |
parent | 625034113bd45c71fb9e329f52f25fef9e6993a3 (diff) | |
download | blackbird-op-linux-9914ae3ca770389a3bec3114d0a07532a7f235dd.tar.gz blackbird-op-linux-9914ae3ca770389a3bec3114d0a07532a7f235dd.zip |
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 <vladislav.yasevich@hp.com>
Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/crypto')
0 files changed, 0 insertions, 0 deletions