diff options
Diffstat (limited to 'net/sctp')
-rw-r--r-- | net/sctp/associola.c | 2 | ||||
-rw-r--r-- | net/sctp/protocol.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/net/sctp/associola.c b/net/sctp/associola.c index e41feff19e43..0b85e5256434 100644 --- a/net/sctp/associola.c +++ b/net/sctp/associola.c | |||
@@ -172,7 +172,7 @@ static struct sctp_association *sctp_association_init(struct sctp_association *a | |||
172 | asoc->timeouts[SCTP_EVENT_TIMEOUT_AUTOCLOSE] = | 172 | asoc->timeouts[SCTP_EVENT_TIMEOUT_AUTOCLOSE] = |
173 | (unsigned long)sp->autoclose * HZ; | 173 | (unsigned long)sp->autoclose * HZ; |
174 | 174 | ||
175 | /* Initilizes the timers */ | 175 | /* Initializes the timers */ |
176 | for (i = SCTP_EVENT_TIMEOUT_NONE; i < SCTP_NUM_TIMEOUT_TYPES; ++i) | 176 | for (i = SCTP_EVENT_TIMEOUT_NONE; i < SCTP_NUM_TIMEOUT_TYPES; ++i) |
177 | setup_timer(&asoc->timers[i], sctp_timer_events[i], | 177 | setup_timer(&asoc->timers[i], sctp_timer_events[i], |
178 | (unsigned long)asoc); | 178 | (unsigned long)asoc); |
diff --git a/net/sctp/protocol.c b/net/sctp/protocol.c index 182749867c72..0f41b05bd4d6 100644 --- a/net/sctp/protocol.c +++ b/net/sctp/protocol.c | |||
@@ -1162,7 +1162,7 @@ SCTP_STATIC __init int sctp_init(void) | |||
1162 | /* Set the pressure threshold to be a fraction of global memory that | 1162 | /* Set the pressure threshold to be a fraction of global memory that |
1163 | * is up to 1/2 at 256 MB, decreasing toward zero with the amount of | 1163 | * is up to 1/2 at 256 MB, decreasing toward zero with the amount of |
1164 | * memory, with a floor of 128 pages. | 1164 | * memory, with a floor of 128 pages. |
1165 | * Note this initalizes the data in sctpv6_prot too | 1165 | * Note this initializes the data in sctpv6_prot too |
1166 | * Unabashedly stolen from tcp_init | 1166 | * Unabashedly stolen from tcp_init |
1167 | */ | 1167 | */ |
1168 | nr_pages = totalram_pages - totalhigh_pages; | 1168 | nr_pages = totalram_pages - totalhigh_pages; |