diff options
| author | Ruslan Ermilov <ru@FreeBSD.org> | 2006-09-07 09:49:08 +0000 |
|---|---|---|
| committer | Ruslan Ermilov <ru@FreeBSD.org> | 2006-09-07 09:49:08 +0000 |
| commit | 3c89486cc7d42563ef66c660954ff140d4986c10 (patch) | |
| tree | 6bc3d5e77bc7fddc0f30053154d0e36846e922f8 | |
| parent | f80a2d649e2733744b58c3fff5b6303999f519ca (diff) | |
Notes
| -rw-r--r-- | sys/netinet/tcp_timer.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/netinet/tcp_timer.c b/sys/netinet/tcp_timer.c index ca0bd36eea1e..a5db5a04c48e 100644 --- a/sys/netinet/tcp_timer.c +++ b/sys/netinet/tcp_timer.c @@ -241,7 +241,6 @@ struct twlist { }; #define TWLIST_NLISTS 2 static struct twlist twl_2msl[TWLIST_NLISTS]; -static struct twlist *tw_2msl_list[] = { &twl_2msl[0], &twl_2msl[1], NULL }; void tcp_timer_init(void) @@ -289,7 +288,7 @@ tcp_timer_2msl_tw(int reuse) INP_INFO_WLOCK_ASSERT(&tcbinfo); for (i = 0; i < TWLIST_NLISTS; i++) { - twl = tw_2msl_list[i]; + twl = &twl_2msl[i]; tw_tail = &twl->tw_tail; for (;;) { |
