[SCTP]: Implement SCTP-AUTH initializations.

The patch initializes AUTH related members of the generic SCTP
structures and provides a way to enable/disable auth extension.

Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Vlad Yasevich 2007-09-16 19:31:35 -07:00 committed by David S. Miller
parent 1f485649f5
commit a29a5bd4f5
5 changed files with 133 additions and 0 deletions

View file

@ -1185,6 +1185,9 @@ SCTP_STATIC __init int sctp_init(void)
/* Enable PR-SCTP by default. */
sctp_prsctp_enable = 1;
/* Disable AUTH by default. */
sctp_auth_enable = 0;
sctp_sysctl_register();
INIT_LIST_HEAD(&sctp_address_families);