You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bbr3: silence -Wconstant-logical-operand
The `ecn_thresh` and `ecn_factor` params are just consts in a public
version of BBRv3, so evaluating them in conditions as booleans triggers
`-Wconstant-logical-operand` with Clang.
Prepend relevant invocations with double negation to convert values to
booleans explicitly.
The values are always `true`, so these parts of conditions can also be
dropped. Keeping them instead since they are used in an internal version
of BBRv3 to stay as close to the original code as possible.
Signed-off-by: sbwml <admin@cooluc.com>