lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Mon, 2 Jan 2017 06:05:11 +0100
From:   Sedat Dilek <sedat.dilek@...il.com>
To:     "David S. Miller <davem@...emloft.net> Neal Cardwell" 
        <ncardwell@...gle.com>
Cc:     netdev@...r.kernel.org
Subject: tcp_bbr: Forcing set of BBR congestion control as default

Hi,

I am trying to force the set of BBR congestion control as default.
My old linux-config uses CUBIC as default.
I want both BBR and CUBIC to be built but BBR shall be my default.

I tried the below snippet.

I refresh my new linux-config like this...

$ MAKE="make V=1" ; COMPILER="mycompiler" ; MAKE_OPTS="CC=$COMPILER
HOSTCC=$COMPILER" ; yes "" | $MAKE $MAKE_OPTS oldconfig && $MAKE
$MAKE_OPTS silentoldconfig < /dev/null

What am I doing wrong?

Thanks in advance.

Regards,
- Sedat -

P.S.: Patch snippet

--- a/net/ipv4/Kconfig
+++ b/net/ipv4/Kconfig
@@ -642,7 +642,7 @@ config TCP_CONG_CDG

 config TCP_CONG_BBR
        tristate "BBR TCP"
-       default n
+       default y
        ---help---

        BBR (Bottleneck Bandwidth and RTT) TCP congestion control aims to
@@ -657,7 +657,7 @@ config TCP_CONG_BBR

 choice
        prompt "Default TCP congestion control"
-       default DEFAULT_CUBIC
+       default DEFAULT_BBR
        help
          Select the TCP congestion control that will be used by default
          for all connections.
@@ -716,7 +716,7 @@ config DEFAULT_TCP_CONG
        default "dctcp" if DEFAULT_DCTCP
        default "cdg" if DEFAULT_CDG
        default "bbr" if DEFAULT_BBR
-       default "cubic"
+       default "bbr"

 config TCP_MD5SIG
        bool "TCP: MD5 Signature Option support (RFC2385)"

- EOT -

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ