sctp: make sctp over IPv6 work with IPsec
authorVlad Yasevich <vladislav.yasevich@hp.com>
Tue, 26 Apr 2011 21:52:27 +0000 (21:52 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 Apr 2011 20:14:05 +0000 (13:14 -0700)
commit9c6a02f41d10dc9fbf5dd42058e8846f38dd2d9a
treec6ce6904ce9517fbba4b6b9b5c02c0d604b33e59
parent9914ae3ca770389a3bec3114d0a07532a7f235dd
sctp: make sctp over IPv6 work with IPsec

SCTP never called xfrm_output after it's v6 route lookups so
that never really worked with ipsec.  Additioanlly, we never
passed port nubmers and protocol in the flowi, so any port
based policies were never applied as well.  Now that we can
fixed ipv6 routing lookup code, using ip6_dst_lookup_flow()
and pass port numbers.

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>
net/sctp/ipv6.c