[TIMEWAIT]: Introduce inet_timewait_death_row
That groups all of the tables and variables associated to the TCP timewait schedulling/recycling/killing code, that now can be isolated from the TCP specific code and used by other transport protocols, such as DCCP. Next changeset will move this code to net/ipv4/inet_timewait_sock.c Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
0b4e03bf0b
commit
295ff7edb8
@@ -259,7 +259,7 @@ ctl_table ipv4_table[] = {
|
||||
{
|
||||
.ctl_name = NET_TCP_MAX_TW_BUCKETS,
|
||||
.procname = "tcp_max_tw_buckets",
|
||||
.data = &sysctl_tcp_max_tw_buckets,
|
||||
.data = &tcp_death_row.sysctl_max_tw_buckets,
|
||||
.maxlen = sizeof(int),
|
||||
.mode = 0644,
|
||||
.proc_handler = &proc_dointvec
|
||||
@@ -363,7 +363,7 @@ ctl_table ipv4_table[] = {
|
||||
{
|
||||
.ctl_name = NET_TCP_TW_RECYCLE,
|
||||
.procname = "tcp_tw_recycle",
|
||||
.data = &sysctl_tcp_tw_recycle,
|
||||
.data = &tcp_death_row.sysctl_tw_recycle,
|
||||
.maxlen = sizeof(int),
|
||||
.mode = 0644,
|
||||
.proc_handler = &proc_dointvec
|
||||
|
Reference in New Issue
Block a user