diff options
author | Vlad Yasevich <vladislav.yasevich@hp.com> | 2007-09-16 22:31:35 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 19:51:30 -0400 |
commit | a29a5bd4f5c3e8ba2e89688feab8b01c44f1654f (patch) | |
tree | 2b98f0d572fee7dff79373c64f95a61f940db7e9 /net/sctp/protocol.c | |
parent | 1f485649f52929d9937b346a920a522a7363e202 (diff) |
[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>
Diffstat (limited to 'net/sctp/protocol.c')
-rw-r--r-- | net/sctp/protocol.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/sctp/protocol.c b/net/sctp/protocol.c index 3ec8b12b6da4..4e6b59e8b695 100644 --- a/net/sctp/protocol.c +++ b/net/sctp/protocol.c | |||
@@ -1185,6 +1185,9 @@ SCTP_STATIC __init int sctp_init(void) | |||
1185 | /* Enable PR-SCTP by default. */ | 1185 | /* Enable PR-SCTP by default. */ |
1186 | sctp_prsctp_enable = 1; | 1186 | sctp_prsctp_enable = 1; |
1187 | 1187 | ||
1188 | /* Disable AUTH by default. */ | ||
1189 | sctp_auth_enable = 0; | ||
1190 | |||
1188 | sctp_sysctl_register(); | 1191 | sctp_sysctl_register(); |
1189 | 1192 | ||
1190 | INIT_LIST_HEAD(&sctp_address_families); | 1193 | INIT_LIST_HEAD(&sctp_address_families); |