There is a way to support that use case without setting the
TCP_CONG_NON_RESTRICTED bit. When the admin loads tcp_bbr.ko they can
also set
# OLDLIST=`sysctl -n net.ipv4.tcp_allowed_congestion_control`
# sysctl net.ipv4.tcp_allowed_congestion_control="$OLDLIST bbr"
or, more likely, explicitly set allowed CC algorithms at startup. This
will also work for any other algorithm (Vegas, BIC, etc.).
I was interpreting "Default is "reno" and the default setting
(tcp_congestion_control)" as reno and whatever
net.ipv4.tcp_congestion_control is should be the only CCs in the list
without it being explicitly changed via sysctl.
Please note that these are just observations. tbh I'm not sure what the
reasoning (or security concerns) behind not allowing users to set their
socket's CC algo was.
Best, Taran
> <mailto:
bbr-dev+u...@googlegroups.com>.
> <
https://groups.google.com/d/msgid/bbr-dev/0158186d-6b76-4f19-8809-fa3799997506%40googlegroups.com?utm_medium=email&utm_source=footer>.
>