summaryrefslogtreecommitdiff
path: root/drivers/net/wireguard/peer.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2021-06-04 17:17:32 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2022-07-07 13:26:44 +0200
commitb0474b5ab8aacb14bdc32ed4a556fe42d2b88787 (patch)
tree18c6553b5e13522d036478b40a3be634bb99efb3 /drivers/net/wireguard/peer.c
parent6a33f9e149c8a9e7123cdd4885ee02d02e7c24e8 (diff)
downloadwireguard-linux-trimmed-b0474b5ab8aacb14bdc32ed4a556fe42d2b88787.tar.gz
wireguard-linux-trimmed-b0474b5ab8aacb14bdc32ed4a556fe42d2b88787.zip
wireguard: do not use -O3
commit cc5060ca0285efe2728bced399a1955a7ce808b2 upstream. Apparently, various versions of gcc have O3-related miscompiles. Looking at the difference between -O2 and -O3 for gcc 11 doesn't indicate miscompiles, but the difference also doesn't seem so significant for performance that it's worth risking. Link: https://lore.kernel.org/lkml/CAHk-=wjuoGyxDhAF8SsrTkN0-YfCx7E6jUN3ikC_tn2AKWTTsA@mail.gmail.com/ Link: https://lore.kernel.org/lkml/CAHmME9otB5Wwxp7H8bR_i2uH2esEMvoBMC8uEXBMH9p0q1s6Bw@mail.gmail.com/ Reported-by: Linus Torvalds <torvalds@linux-foundation.org> Fixes: a8f1bc7bdea3 ("net: WireGuard secure network tunnel") Cc: stable@vger.kernel.org Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'drivers/net/wireguard/peer.c')
0 files changed, 0 insertions, 0 deletions