Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | global: do not allow compiler to reorder is_valid or is_dead | Jason A. Donenfeld | 2018-10-25 | 4 | -14/+17 | |
| | | | | Suggested-by: Jann Horn <jann@thejh.net> | |||||
* | peer: another peer_remove cleanup | Jason A. Donenfeld | 2018-10-25 | 2 | -12/+42 | |
| | ||||||
* | wg.8: AllowedIPs isn't actually required | Jason A. Donenfeld | 2018-10-19 | 1 | -1/+1 | |
| | | | | | | | An empty allowed IPs is totally valid, for folks wishing to move IP addresses between multiple peers atomically. Suggested-by: Comex <comexk@gmail.com> | |||||
* | wg.8: specify that wg(8) shows runtime info too | Jason A. Donenfeld | 2018-10-19 | 1 | -1/+1 | |
| | | | | Suggested-by: Comex <comexk@gmail.com> | |||||
* | version: bump snapshot0.0.20181018 | Jason A. Donenfeld | 2018-10-18 | 2 | -2/+2 | |
| | ||||||
* | tools: wg-quick: wait for interface to disappear on freebsd | Jason A. Donenfeld | 2018-10-13 | 1 | -0/+9 | |
| | ||||||
* | tools: don't fail if a netlink interface dump is inconsistent | Jason A. Donenfeld | 2018-10-13 | 2 | -4/+18 | |
| | | | | | | | | | | Netlink returns NLM_F_DUMP_INTR if the set of all tunnels changed during the dump. That's unfortunate, but is pretty common on busy systems that are adding and removing tunnels all the time. Rather than retrying, potentially indefinitely, we just work with the partial results. Reported-by: Robert Gerus <ar@is-a.cat> | |||||
* | main: get rid of unloaded debug message | Jason A. Donenfeld | 2018-10-10 | 1 | -1/+0 | |
| | ||||||
* | tools: compile on gnu99 | Jason A. Donenfeld | 2018-10-09 | 1 | -1/+1 | |
| | | | | | | | We don't actually use any C11 features, so we can at least compile with ancient gcc. Reported-by: Aaron M. D. Jones <aaronmdjones@gmail.com> | |||||
* | tools: use libc's endianness macro if no compiler macro | Jason A. Donenfeld | 2018-10-09 | 1 | -0/+10 | |
| | | | | | | This lets us be compiled with ancient gcc. Reported-by: Jeff Brandt <jeff@jeffcolo.net> | |||||
* | global: give if statements brackets and other cleanups | Jason A. Donenfeld | 2018-10-09 | 10 | -27/+40 | |
| | ||||||
* | main: change module description | Jason A. Donenfeld | 2018-10-08 | 1 | -1/+1 | |
| | | | | Suggested-by: Jiri Pirko <jiri@resnulli.us> | |||||
* | device: use textual error labels always | Jason A. Donenfeld | 2018-10-08 | 1 | -22/+23 | |
| | | | | Suggested-by: Jiri Pirko <jiri@resnulli.us> | |||||
* | allowedips: swap endianness early on | Arnd Bergmann | 2018-10-08 | 1 | -6/+9 | |
| | | | | | | | | Otherwise if gcc's optimizer is able to look far in but not overly far in, we wind up with "warning: 'key' may be used uninitialized in this function [-Wmaybe-uninitialized]". Signed-off-by: Arnd Bergmann <arnd@arndb.de> | |||||
* | timers: avoid using control statements in macro | Jason A. Donenfeld | 2018-10-08 | 1 | -8/+23 | |
| | | | | Suggested-by: Andrew Lunn <andrew@lunn.ch> | |||||
* | allowedips: remove control statement from macro by rewriting | Jason A. Donenfeld | 2018-10-08 | 1 | -68/+119 | |
| | | | | | | | This is a significant rearrangement that makes things less clear, to satisfy a checkpatch.pl requirement. Suggested-by: Andrew Lunn <andrew@lunn.ch> | |||||
* | global: more nits | Jason A. Donenfeld | 2018-10-08 | 17 | -83/+91 | |
| | ||||||
* | global: rename struct wireguard_ to struct wg_ | Jason A. Donenfeld | 2018-10-08 | 23 | -236/+225 | |
| | | | | | | This required a bit of pruning of our christmas trees. Suggested-by: Jiri Pirko <jiri@resnulli.us> | |||||
* | netlink: do not stuff index into nla type | Jason A. Donenfeld | 2018-10-08 | 4 | -34/+25 | |
| | | | | | | | It's not used for anything, and LKML doesn't like the type being used as an index value. Suggested-by: Eugene Syromiatnikov <esyr@redhat.com> | |||||
* | qemu: kill after 20 minutes | Jason A. Donenfeld | 2018-10-08 | 1 | -1/+1 | |
| | ||||||
* | compat: look in Kbuild and Makefile since they differ based on arch | Jason A. Donenfeld | 2018-10-08 | 1 | -1/+1 | |
| | ||||||
* | create-patch: blacklist instead of whitelist | Jason A. Donenfeld | 2018-10-08 | 1 | -1/+2 | |
| | | | | | | This will deal with filename changes more gracefully. Reported-by: Jordan Glover <Golden_Miller83@protonmail.ch> | |||||
* | global: prefix functions used in callbacks with wg_ | Jason A. Donenfeld | 2018-10-08 | 9 | -90/+95 | |
| | | | | Suggested-by: Jiri Pirko <jiri@resnulli.us> | |||||
* | compat: don't output for grep errors | Davide Garberi | 2018-10-07 | 1 | -2/+2 | |
| | | | | | | | | This will make it so that kernels not having arch/$(SRCARCH)/Kbuild no longer give any (non-fatal) grep errors such as "grep: arch/arm64/Kbuild: No such file or directory". Signed-off-by: Davide Garberi <dade.garberi@gmail.com> | |||||
* | version: bump snapshot0.0.20181007 | Jason A. Donenfeld | 2018-10-07 | 2 | -2/+2 | |
| | ||||||
* | global: style nits | Jason A. Donenfeld | 2018-10-07 | 5 | -32/+30 | |
| | ||||||
* | crypto: clean up remaining .h->.c | Jason A. Donenfeld | 2018-10-07 | 11 | -14/+14 | |
| | ||||||
* | allowedips: document additional nobs | Jason A. Donenfeld | 2018-10-07 | 1 | -0/+12 | |
| | ||||||
* | makefile: do more generic wildcard so as to avoid rename issues | Jason A. Donenfeld | 2018-10-07 | 2 | -2/+2 | |
| | | | | | | | Commit ad5e4210 (global: rename include'd C files to be .c) breaks install target for dkms sources. Fix installing selftest/*.c. Suggested-by: Christian Hesse <mail@eworm.de> | |||||
* | crypto: use BIT(i) & bitmap instead of (bitmap >> i) & 1 | Jason A. Donenfeld | 2018-10-07 | 1 | -2/+2 | |
| | | | | | | | | | | | Pros: clearer if you're not familiar with the shift idiom, uses kernel macro. Cons: doesn't work any more if the lvalue ever ceases to be a bool. Neutral: generates the same machine code. Suggested-by: Sultan Alsawaf <sultanxda@gmail.com> | |||||
* | crypto: disable broken implementations in selftests | Jason A. Donenfeld | 2018-10-07 | 1 | -9/+8 | |
| | ||||||
* | compat: clang cannot handle __builtin_constant_p | Jason A. Donenfeld | 2018-10-07 | 1 | -0/+7 | |
| | | | | | | Or, put differently, we don't want to go chasing down random versions of clang used by XDA users, so we just disable this checking on clang all together. | |||||
* | compat: make asm/simd.h conditional on its existence | Jason A. Donenfeld | 2018-10-07 | 5 | -23/+24 | |
| | | | | Android kernels backported it, complicating things. | |||||
* | compat: account for ancient ARM assembler | Jason A. Donenfeld | 2018-10-06 | 1 | -0/+25 | |
| | ||||||
* | version: bump snapshot0.0.20181006 | Jason A. Donenfeld | 2018-10-06 | 2 | -2/+2 | |
| | ||||||
* | crypto: test all SIMD combinations | Jason A. Donenfeld | 2018-10-06 | 20 | -40/+82 | |
| | ||||||
* | global: rename include'd C files to be .c | Jason A. Donenfeld | 2018-10-06 | 25 | -34/+34 | |
| | | | | | | | | | This is done by 259 other files in the kernel tree: linux $ rg '#include.*\.c' -l | wc -l 259 Suggested-by: Sultan Alsawaf <sultanxda@gmail.com> | |||||
* | allowedips: remove ifdefs in favor of IS_ENABLED | Jason A. Donenfeld | 2018-10-06 | 2 | -20/+34 | |
| | ||||||
* | wg-quick.8: add policy routing example | Jason A. Donenfeld | 2018-10-05 | 1 | -0/+26 | |
| | | | | | Suggested-by: Toke Høiland-Jørgensen <toke@toke.dk> Suggested-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org> | |||||
* | curve25519-arm: rearrange multiplications for better in-order performance | Jason A. Donenfeld | 2018-10-04 | 1 | -12/+12 | |
| | | | | Suggested-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> | |||||
* | curve25519-arm: writeback to base register when possible | Jason A. Donenfeld | 2018-10-04 | 1 | -58/+27 | |
| | | | | Suggested-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> | |||||
* | blake2s: always put a simd, even if not use()'d | Jason A. Donenfeld | 2018-10-03 | 1 | -2/+5 | |
| | ||||||
* | simd: introduce useful disabling macro | Jason A. Donenfeld | 2018-10-03 | 3 | -3/+4 | |
| | ||||||
* | Kconfig: do now allow IPV6=m,WG=y | Jason A. Donenfeld | 2018-10-03 | 1 | -0/+1 | |
| | ||||||
* | curve25519-arm: adjust comment | Jason A. Donenfeld | 2018-10-03 | 1 | -2/+2 | |
| | ||||||
* | curve25519-arm: use new simd api | Jason A. Donenfeld | 2018-10-03 | 1 | -6/+9 | |
| | ||||||
* | chacha20-arm: use proper reteq macro instead of bxeq | Jason A. Donenfeld | 2018-10-02 | 1 | -1/+2 | |
| | | | | Suggested-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> | |||||
* | qemu: show more messages in console the right way | Jason A. Donenfeld | 2018-10-02 | 1 | -1/+1 | |
| | ||||||
* | qemu: support powerpc64le | Jason A. Donenfeld | 2018-10-02 | 2 | -2/+22 | |
| | | | | | This uses ELFv2 ABI, which is the only ppc64 ABI musl supports. Big endian uses ELFv1 ABI, which musl doesn't support. | |||||
* | qemu: give up and accept a mips64r2 world | Jason A. Donenfeld | 2018-10-02 | 3 | -6/+8 | |
| | | | | | | We can't do SMP this way, and we also fall back to using the default N32 ABI, which is a bummer. But the mips64r6 toolchain is too much of a hassle to build with Gentoo's crossdev, and at least this works. |