Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | WIP8 | Thomas Gschwantner | 2018-06-04 | 1 | -1/+1 |
| | |||||
* | WIP4 | Tharre | 2018-06-04 | 1 | -14/+3 |
| | |||||
* | WIP3 | Tharre | 2018-06-04 | 1 | -3/+10 |
| | |||||
* | WIP2 | Tharre | 2018-06-04 | 1 | -3/+5 |
| | |||||
* | timers: clear send_keepalive timer on sending handshake response | Jason A. Donenfeld | 2018-05-19 | 1 | -0/+3 |
| | | | | | | We reorganize this into also doing so on sending keepalives itself, which means the state machine is much more consistent, even if this was already implied. | ||||
* | send: simplify skb_padding with nice macro | Jason A. Donenfeld | 2018-04-16 | 1 | -4/+3 |
| | |||||
* | send: account for route-based MTU | Jason A. Donenfeld | 2018-04-15 | 1 | -3/+4 |
| | | | | | | | | | | It might be that a particular route has a different MTU than the interface, via `ip route add ... dev wg0 mtu 1281`, for example. In this case, it's important that we don't accidently pad beyond the end of the MTU. We accomplish that in this patch by carrying forward the MTU from the dst if it exists. We also add a unit test for this issue. Reported-by: Roman Mamedov <rm.wg@romanrm.net> | ||||
* | global: year bump | Jason A. Donenfeld | 2018-01-03 | 1 | -1/+1 |
| | |||||
* | global: add SPDX tags to all files | Greg Kroah-Hartman | 2017-12-09 | 1 | -1/+4 |
| | | | | | | | | | | | | | It's good to have SPDX identifiers in all files as the Linux kernel developers are working to add these identifiers to all files. Update all files with the correct SPDX license identifier based on the license text of the project or based on the license in the file itself. The SPDX identifier is a legally binding shorthand, which can be used instead of the full boiler plate text. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Modified-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | global: style nits | Jason A. Donenfeld | 2017-10-31 | 1 | -6/+12 |
| | |||||
* | global: infuriating kernel iterator style | Jason A. Donenfeld | 2017-10-31 | 1 | -5/+5 |
| | | | | | | | | | | | | | | | | | One types: for (i = 0 ... So one should also type: for_each_obj (obj ... But the upstream kernel style guidelines are insane, and so we must instead do: for_each_obj(obj ... Ugly, but one must choose his battles wisely. | ||||
* | global: accept decent check_patch.pl suggestions | Jason A. Donenfeld | 2017-10-31 | 1 | -3/+4 |
| | |||||
* | stats: more robust accounting | Jason A. Donenfeld | 2017-10-31 | 1 | -0/+1 |
| | |||||
* | send: improve dead packet control flow | Jason A. Donenfeld | 2017-10-17 | 1 | -6/+3 |
| | |||||
* | send: do not requeue if packet is dead | Jason A. Donenfeld | 2017-10-11 | 1 | -1/+6 |
| | |||||
* | queueing: cleanup skb_padding | Jason A. Donenfeld | 2017-10-05 | 1 | -0/+14 |
| | |||||
* | queueing: move from ctx to cb | Jason A. Donenfeld | 2017-10-05 | 1 | -54/+49 |
| | |||||
* | queueing: use ptr_ring instead of linked lists | Jason A. Donenfeld | 2017-10-05 | 1 | -6/+15 |
| | |||||
* | send: put keypair reference | Jason A. Donenfeld | 2017-10-05 | 1 | -0/+1 |
| | |||||
* | global: add space around variable declarations | Jason A. Donenfeld | 2017-10-03 | 1 | -0/+1 |
| | |||||
* | queueing: rename cpumask function | Jason A. Donenfeld | 2017-09-19 | 1 | -1/+1 |
| | |||||
* | send: don't take uninitialized lock | Jason A. Donenfeld | 2017-09-19 | 1 | -3/+3 |
| | | | | | | Packets is a local, which means we need to use the functions that don't take a spinlock, since otherwise we'll be using a spinlock in an undefined state. | ||||
* | queueing: no need to memzero struct | Jason A. Donenfeld | 2017-09-19 | 1 | -1/+2 |
| | |||||
* | queue: entirely rework parallel system | Jason A. Donenfeld | 2017-09-18 | 1 | -60/+174 |
| | | | | | | | | | | This removes our dependency on padata and moves to a different mode of multiprocessing that is more efficient. This began as Samuel Holland's GSoC project and was gradually reworked/redesigned/rebased into this present commit, which is a combination of his initial contribution and my subsequent rewriting and redesigning. | ||||
* | send: no need to check for NULL since ref is valid | Jason A. Donenfeld | 2017-09-16 | 1 | -3/+0 |
| | |||||
* | noise: infer initiator or not from handshake state | Jason A. Donenfeld | 2017-08-04 | 1 | -1/+1 |
| | | | | Suggested-by: Mathias Hall-Andersen <mathias@hall-andersen.dk> | ||||
* | timers: rename confusingly named functions and variables | Jason A. Donenfeld | 2017-08-04 | 1 | -1/+1 |
| | | | | Suggested-by: Mathias Hall-Andersen <mathias@hall-andersen.dk> | ||||
* | send: use skb_queue_empty where appropriate | Samuel Holland | 2017-07-20 | 1 | -3/+3 |
| | | | | Signed-off-by: Samuel Holland <samuel@sholland.org> | ||||
* | global: use pointer to net_device | Jason A. Donenfeld | 2017-07-20 | 1 | -5/+5 |
| | | | | | | DaveM prefers it to be this way per [1]. [1] http://www.spinics.net/lists/netdev/msg443992.html | ||||
* | send: orphan skbs when buffering longterm | Jason A. Donenfeld | 2017-07-20 | 1 | -1/+7 |
| | | | | | | | | | Otherwise we quickly use up all of a socket's memory, which prevents a socket from sending packets to other interfaces. This also has the nice effect of letting TCP connections continue to attempt to begin, with the older ones being naturally rotated out and freed, so when a connection finally is made, only the later TCP connections are attempted, not the ones that would already have timed out. | ||||
* | timers: reset retry-attempt counter when not retrying | Jason A. Donenfeld | 2017-05-31 | 1 | -3/+6 |
| | |||||
* | debug: print interface name in dmesg | Jason A. Donenfeld | 2017-05-31 | 1 | -4/+4 |
| | |||||
* | style: spaces after for loops | Jason A. Donenfeld | 2017-05-30 | 1 | -1/+1 |
| | |||||
* | handshake: process in parallel | Jason A. Donenfeld | 2017-05-30 | 1 | -1/+1 |
| | |||||
* | data: cleanup parallel workqueue and use two max_active | Jason A. Donenfeld | 2017-04-08 | 1 | -1/+1 |
| | |||||
* | data: simplify flow | Jason A. Donenfeld | 2017-04-04 | 1 | -2/+2 |
| | |||||
* | locking: always use _bh | Jason A. Donenfeld | 2017-04-04 | 1 | -10/+9 |
| | | | | | All locks are potentially between user context and softirq, which means we need to take the _bh variant. | ||||
* | data: big refactoring | Jason A. Donenfeld | 2017-03-20 | 1 | -3/+6 |
| | |||||
* | Update copyright | Jason A. Donenfeld | 2017-01-10 | 1 | -1/+1 |
| | |||||
* | peer: don't use sockaddr_storage to reduce memory usage | Jason A. Donenfeld | 2016-12-13 | 1 | -3/+3 |
| | |||||
* | device: clean up xmit error path | Jason A. Donenfeld | 2016-12-11 | 1 | -3/+2 |
| | |||||
* | send: send packet initiation only after requeuing to prevent race | Jason A. Donenfeld | 2016-11-29 | 1 | -6/+11 |
| | |||||
* | headers: cleanup notices | Jason A. Donenfeld | 2016-11-21 | 1 | -1/+1 |
| | |||||
* | debug: cleanup skb printing | Jason A. Donenfeld | 2016-11-15 | 1 | -5/+1 |
| | |||||
* | socket: keep track of src address in sending packets | Jason A. Donenfeld | 2016-11-15 | 1 | -6/+6 |
| | |||||
* | send: simplify handshake initiation queueing and introduce lock | Jason A. Donenfeld | 2016-11-07 | 1 | -25/+31 |
| | |||||
* | debug: support dynamic debug on skb addr | Jason A. Donenfeld | 2016-11-06 | 1 | -1/+1 |
| | |||||
* | send: remove redundant time stamp | Jason A. Donenfeld | 2016-11-06 | 1 | -1/+0 |
| | |||||
* | socket: big refactoring | Jason A. Donenfeld | 2016-11-05 | 1 | -1/+1 |
| | |||||
* | send: queue bundles on same CPU | Jason A. Donenfeld | 2016-11-04 | 1 | -148/+43 |
| |