mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 00:04:15 +08:00
cc5060ca02
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: e7096c131e
("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>
18 lines
483 B
Makefile
18 lines
483 B
Makefile
ccflags-y := -D'pr_fmt(fmt)=KBUILD_MODNAME ": " fmt'
|
|
ccflags-$(CONFIG_WIREGUARD_DEBUG) += -DDEBUG
|
|
wireguard-y := main.o
|
|
wireguard-y += noise.o
|
|
wireguard-y += device.o
|
|
wireguard-y += peer.o
|
|
wireguard-y += timers.o
|
|
wireguard-y += queueing.o
|
|
wireguard-y += send.o
|
|
wireguard-y += receive.o
|
|
wireguard-y += socket.o
|
|
wireguard-y += peerlookup.o
|
|
wireguard-y += allowedips.o
|
|
wireguard-y += ratelimiter.o
|
|
wireguard-y += cookie.o
|
|
wireguard-y += netlink.o
|
|
obj-$(CONFIG_WIREGUARD) := wireguard.o
|