]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4b7cf6a964ce8d48bc5360611d2cbc1e0db52ba1
treec6ce6904ce9517fbba4b6b9b5c02c0d604b33e59
parent8dd745df4b61fcdaced7c80f4f19926cf203d1de
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