SCTP: change sctp_ctl_sock_init() to try IPv4 if IPv6 fails
authorBrian Haley <brian.haley@hp.com>
Wed, 4 Mar 2009 11:20:26 +0000 (03:20 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Mar 2009 11:20:26 +0000 (03:20 -0800)
commitfb13d9f9e450bceafd88ac8a98f7a98e8096a5fe
tree69b9341aeca187891f5a683c47150ffb0fce4d71
parentfe7ca2e1e847b65c12d245cbf402af89da96888a
SCTP: change sctp_ctl_sock_init() to try IPv4 if IPv6 fails

Change sctp_ctl_sock_init() to try IPv4 if IPv6 socket registration
fails.  Required if the IPv6 module is loaded with "disable=1", else
SCTP will fail to load.

Signed-off-by: Brian Haley <brian.haley@hp.com>
Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/protocol.c