sctp: fix to only enable IPv6 address support on PF_INET6 socket
authorWei Yongjun <yjwei@cn.fujitsu.com>
Tue, 7 Apr 2009 08:35:11 +0000 (16:35 +0800)
committerVlad Yasevich <vladislav.yasevich@hp.com>
Wed, 3 Jun 2009 13:14:46 +0000 (09:14 -0400)
commita2c395846cf6abfdda3c04a19a0982adbb6469c2
tree61bd4a2939f686fffc8e9d2c2a29d3ec2456f436
parent4553e88d876e7eb29db3e8f632101398900d2194
sctp: fix to only enable IPv6 address support on PF_INET6 socket

If socket is create by PF_INET type, it can not used IPv6 address
to send/recv DATA. So only enable IPv6 address support on PF_INET6
socket.

Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com>
Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
net/sctp/associola.c