patch-2.1.11 linux/net/ipv4/sysctl_net_ipv4.c
Next file: linux/net/ipv4/tcp.c
Previous file: linux/net/ipv4/raw.c
Back to the patch index
Back to the overall index
- Lines: 21
- Date:
Mon Nov 18 10:36:07 1996
- Orig file:
v2.1.10/linux/net/ipv4/sysctl_net_ipv4.c
- Orig date:
Sun Nov 10 20:12:29 1996
diff -u --recursive --new-file v2.1.10/linux/net/ipv4/sysctl_net_ipv4.c linux/net/ipv4/sysctl_net_ipv4.c
@@ -31,7 +31,9 @@
extern int sysctl_arp_confirm_interval;
extern int sysctl_arp_confirm_timeout;
-extern int sysctl_tcp_vegas_cong_avoidance;
+extern int sysctl_tcp_cong_avoidance;
+extern int tcp_sysctl_congavoid(ctl_table *ctl, int write, struct file * filp,
+ void *buffer, size_t *lenp);
ctl_table ipv4_table[] = {
{NET_IPV4_ARP_RES_TIME, "arp_res_time",
@@ -58,7 +60,7 @@
#endif
{NET_IPV4_TCP_VEGAS_CONG_AVOID, "tcp_vegas_cong_avoid",
- &sysctl_tcp_vegas_cong_avoidance, sizeof(int), 0644,
- NULL, &proc_dointvec },
+ &sysctl_tcp_cong_avoidance, sizeof(int), 0644,
+ NULL, &tcp_sysctl_congavoid },
{0}
};
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov