Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | tools: warn once on unrecognized items | Jason A. Donenfeld | 2017-10-09 | 2 | -0/+22 | |
| | | | | | | | | DaveM suggests we do in fact do this. Others on the same thread weren't happy about the length of the proposed message, so we also give a bit of a less dramatic warning. This reverts commit a2cc976a3b572cf308cc2d97c080eacac60416fe. | |||||
* | routingtable: iterate progressively | Jason A. Donenfeld | 2017-10-09 | 4 | -53/+81 | |
| | ||||||
* | routingtable: only use device's mutex, not a special rt one | Jason A. Donenfeld | 2017-10-09 | 6 | -100/+38 | |
| | ||||||
* | crypto/x86_64: satisfy stack validation 2.0 | Jason A. Donenfeld | 2017-10-09 | 3 | -31/+29 | |
| | | | | | We change this to look like the code gcc generates, so as to keep the objtool checker somewhat happy. | |||||
* | qemu: bump stable kernel | Jason A. Donenfeld | 2017-10-09 | 1 | -1/+1 | |
| | ||||||
* | Makefile: quiet recursive make | Jason A. Donenfeld | 2017-10-09 | 1 | -10/+10 | |
| | ||||||
* | tools: try again if dump is interrupted | Jason A. Donenfeld | 2017-10-08 | 1 | -1/+4 | |
| | ||||||
* | socket: gcc inlining makes this faster | Jason A. Donenfeld | 2017-10-06 | 3 | -11/+10 | |
| | ||||||
* | socket: don't bother recomparing afterwards | Jason A. Donenfeld | 2017-10-06 | 1 | -6/+4 | |
| | | | | | | | It doesn't actually matter if this races, so there's no point in making the hot path slower with the stack copy. Suggested-by: Willy Tarreau <w@1wt.eu> | |||||
* | socket: compare while unlocked first | Jason A. Donenfeld | 2017-10-06 | 2 | -27/+26 | |
| | | | | | | This should be a bit faster. Suggested-by: Willy Tarreau <w@1wt.eu> | |||||
* | receive: do not consider 0 jiffies as being set | Jason A. Donenfeld | 2017-10-06 | 1 | -4/+4 | |
| | | | | | | | | | This causes tests to fail if run within the first 5 minutes. We also move to jiffies 64, so that there's low chance of wrapping in case handshakes are spread far apart. Reported-by: René van Dorst <opensource@vdorst.com> | |||||
* | version: bump snapshot0.0.20171005 | Jason A. Donenfeld | 2017-10-06 | 2 | -2/+2 | |
| | ||||||
* | queueing: cleanup skb_padding | Jason A. Donenfeld | 2017-10-05 | 2 | -14/+14 | |
| | ||||||
* | compat: macro rewrite netlink instead of cluttering | Jason A. Donenfeld | 2017-10-05 | 2 | -19/+23 | |
| | ||||||
* | Makefile: clang now builds the kernel, so use scan-build | Jason A. Donenfeld | 2017-10-05 | 4 | -10/+9 | |
| | | | | | Also add little stub for coccinelle and clean up semicolon issue it found. | |||||
* | queueing: move from ctx to cb | Jason A. Donenfeld | 2017-10-05 | 5 | -151/+119 | |
| | ||||||
* | receive: do not store endpoint in ctx | Jason A. Donenfeld | 2017-10-05 | 2 | -6/+21 | |
| | ||||||
* | compat: RHEL backported netlink changes | Jason A. Donenfeld | 2017-10-05 | 1 | -1/+1 | |
| | ||||||
* | compat: conditionally redefine GENL_UNS_ADMIN_PERM | Jason A. Donenfeld | 2017-10-05 | 1 | -0/+3 | |
| | ||||||
* | compat: support ptr_ring for old kernels | Jason A. Donenfeld | 2017-10-05 | 2 | -0/+644 | |
| | ||||||
* | queueing: use ptr_ring instead of linked lists | Jason A. Donenfeld | 2017-10-05 | 7 | -76/+67 | |
| | ||||||
* | receive: we're not planning on turning that into a while loop now | Jason A. Donenfeld | 2017-10-05 | 1 | -6/+5 | |
| | ||||||
* | send: put keypair reference | Jason A. Donenfeld | 2017-10-05 | 2 | -0/+20 | |
| | ||||||
* | receive: use local keypair, not ctx keypair in error path | Jason A. Donenfeld | 2017-10-03 | 1 | -1/+1 | |
| | ||||||
* | Makefile: add non-verbose mode to tools | Jason A. Donenfeld | 2017-10-03 | 2 | -2/+23 | |
| | ||||||
* | global: add space around variable declarations | Jason A. Donenfeld | 2017-10-03 | 13 | -1/+59 | |
| | ||||||
* | global: use _WG prefix for include guards | Jason A. Donenfeld | 2017-10-03 | 20 | -60/+60 | |
| | | | | Suggested-by: Sultan Alsawaf <sultanxda@gmail.com> | |||||
* | global: satisfy bitshift pedantry | Jason A. Donenfeld | 2017-10-03 | 8 | -24/+24 | |
| | | | | Suggested-by: Sultan Alsawaf <sultanxda@gmail.com> | |||||
* | receive: simplify message type validation | Jason A. Donenfeld | 2017-10-03 | 2 | -42/+33 | |
| | ||||||
* | curve25519-neon-arm: force ARM encoding, since this is unrepresentable in Thumb | Jason A. Donenfeld | 2017-10-02 | 1 | -0/+1 | |
| | ||||||
* | kernel-tree: remember UAPI in patch creation | Jason A. Donenfeld | 2017-10-02 | 1 | -1/+1 | |
| | ||||||
* | contrib: remove worthless build artifact | Jason A. Donenfeld | 2017-10-02 | 1 | -0/+0 | |
| | ||||||
* | tools: compile on non-Linux | Jason A. Donenfeld | 2017-10-02 | 1 | -16/+22 | |
| | ||||||
* | tools: simmer down silly compilers | Jason A. Donenfeld | 2017-10-02 | 1 | -1/+1 | |
| | ||||||
* | version: bump snapshot0.0.20171001 | Jason A. Donenfeld | 2017-10-02 | 2 | -2/+2 | |
| | ||||||
* | tools: do not warn on unrecognized items | Jason A. Donenfeld | 2017-10-02 | 2 | -26/+0 | |
| | | | | Upstream advice is to simply be silent. | |||||
* | ratelimiter: wait for destruction, not for read_unlock | Jason A. Donenfeld | 2017-10-02 | 1 | -1/+1 | |
| | ||||||
* | qemu: add watchdog for not hanging on oops | Jason A. Donenfeld | 2017-10-02 | 3 | -1/+24 | |
| | ||||||
* | messages: reduce maximum staged packets per peer | Jason A. Donenfeld | 2017-10-02 | 1 | -1/+1 | |
| | ||||||
* | noise: use spinlock for rotating keys | Jason A. Donenfeld | 2017-10-02 | 3 | -21/+29 | |
| | | | | | This should only really be contended in extremely exceptional cases, so changing from a mutex to a spinlock is likely fine. | |||||
* | wg-quick: check permissions of parent directory | Jason A. Donenfeld | 2017-10-02 | 1 | -1/+1 | |
| | | | | | Also prefix octal 0, in case these files are actually of modes that don't start with 0 by accident (such as SUID or sticky bit). | |||||
* | wg-quick: verify wireguard interface in more clever way | Jason A. Donenfeld | 2017-10-02 | 1 | -1/+1 | |
| | | | | | This helps with old Debian which has ancient iproute2, as well as paving the path toward this script supporting userspace implementations. | |||||
* | wg-quick: anchor sysctl regex to start and end | Jason A. Donenfeld | 2017-10-02 | 1 | -1/+1 | |
| | | | | | | | This doesn't actually fix a real problem, but it is more correct than not having it. Suggested-by: Aaron Sigel <aaron@vtty.com> | |||||
* | debug: add better insert target | Jason A. Donenfeld | 2017-10-02 | 1 | -4/+4 | |
| | ||||||
* | peer: remove from RCU lists when the kref is zero | Jason A. Donenfeld | 2017-10-02 | 1 | -4/+5 | |
| | ||||||
* | timers: ensure safe timer removal | Jason A. Donenfeld | 2017-10-02 | 1 | -12/+17 | |
| | ||||||
* | receive: do not consider netfilter drop a real drop | Jason A. Donenfeld | 2017-10-02 | 1 | -5/+3 | |
| | ||||||
* | peer: ensure that lookup tables are added last | Jason A. Donenfeld | 2017-10-02 | 1 | -3/+3 | |
| | ||||||
* | netlink: switch from ioctl to netlink for configuration | Jason A. Donenfeld | 2017-10-02 | 28 | -1008/+1934 | |
| | ||||||
* | tools: uapi: only make sure socket file is socket | Jason A. Donenfeld | 2017-09-26 | 1 | -4/+9 | |
| |