Rui Paulo
2006-09-20 21:45:31 UTC
Hi.
I've changed my patch a bit more:
1) I've received the suggestion of renaming "ctrl" to "ctl" like the
userland utilites, and so I did it.
2) A new sysctl tree:
$ sysctl net.inet.tcp.congctl
net.inet.tcp.congctl.available = reno newreno
net.inet.tcp.congctl.selected = newreno
3) I've deleted net.inet.tcp.newreno. What's the policy on delete
sysctls nodes? I would love to be able to kill this one, but I'm not
sure I can.
4) I'm facing a problem with our sysctl API.
# sysctl net.inet.tcp.congctl.selected
net.inet.tcp.congctl.selected = newreno
# sysctl -w net.inet.tcp.congctl.selected=reno
sysctl: net.inet.tcp.congctl.selected: sysctl() failed with Cannot
allocate memory
# sysctl net.inet.tcp.congctl.selected
net.inet.tcp.congctl.selected = reno
Any idea on what might be the cause?
Any other comments?
Regards,
-- Rui Paulo
I've changed my patch a bit more:
1) I've received the suggestion of renaming "ctrl" to "ctl" like the
userland utilites, and so I did it.
2) A new sysctl tree:
$ sysctl net.inet.tcp.congctl
net.inet.tcp.congctl.available = reno newreno
net.inet.tcp.congctl.selected = newreno
3) I've deleted net.inet.tcp.newreno. What's the policy on delete
sysctls nodes? I would love to be able to kill this one, but I'm not
sure I can.
4) I'm facing a problem with our sysctl API.
# sysctl net.inet.tcp.congctl.selected
net.inet.tcp.congctl.selected = newreno
# sysctl -w net.inet.tcp.congctl.selected=reno
sysctl: net.inet.tcp.congctl.selected: sysctl() failed with Cannot
allocate memory
# sysctl net.inet.tcp.congctl.selected
net.inet.tcp.congctl.selected = reno
Any idea on what might be the cause?
Any other comments?
Regards,
-- Rui Paulo