Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | device: IFF_NO_QUEUE is a private flag, not a public one | Jason A. Donenfeld | 2017-09-11 | 1 | -1/+1 |
| | |||||
* | timers: rename confusingly named functions and variables | Jason A. Donenfeld | 2017-08-04 | 1 | -2/+2 |
| | | | | Suggested-by: Mathias Hall-Andersen <mathias@hall-andersen.dk> | ||||
* | global: use pointer to net_device | Jason A. Donenfeld | 2017-07-20 | 1 | -0/+1 |
| | | | | | | DaveM prefers it to be this way per [1]. [1] http://www.spinics.net/lists/netdev/msg443992.html | ||||
* | device: support 4.13's extact newlink param | Jason A. Donenfeld | 2017-07-20 | 1 | -1/+1 |
| | |||||
* | device: cleanup register_netdev logic | Jason A. Donenfeld | 2017-07-06 | 1 | -15/+7 |
| | |||||
* | compat: priv_destructor got backported | Jason A. Donenfeld | 2017-07-06 | 1 | -5/+7 |
| | |||||
* | global: cleanup IP header checking | Jason A. Donenfeld | 2017-06-26 | 1 | -1/+7 |
| | | | | This way is more correct and ensures we're within the skb head. | ||||
* | device: remove icmp conntrack hacks | Jason A. Donenfeld | 2017-06-26 | 1 | -33/+6 |
| | | | | This logic belongs upstream. | ||||
* | device: avoid double icmp send on routing loop | Jason A. Donenfeld | 2017-06-26 | 1 | -1/+0 |
| | |||||
* | ratelimiter: rewrite from scratch | Jason A. Donenfeld | 2017-06-26 | 1 | -3/+5 |
| | | | | | | | This not only removes the depenency on x_tables, but it also gives us much better performance and memory usage. Now, systems are able to have millions of WireGuard interfaces, without having to worry about a thundering herd of garbage collection. | ||||
* | device: only use one sleep notifier | Jason A. Donenfeld | 2017-06-24 | 1 | -19/+26 |
| | | | | | This greatly improves performance when adding and removing interfaces, since the power registration function does a linear search each time. | ||||
* | device: netdevice destruction logic change for 4.12 | Jason A. Donenfeld | 2017-06-24 | 1 | -4/+13 |
| | |||||
* | main: annotate init/exit functions to save memory | Jason A. Donenfeld | 2017-06-24 | 1 | -2/+2 |
| | |||||
* | device: do-while assignment style | Jason A. Donenfeld | 2017-06-01 | 1 | -1/+1 |
| | |||||
* | debug: print interface name in dmesg | Jason A. Donenfeld | 2017-05-31 | 1 | -5/+5 |
| | |||||
* | device: keep going when share_check fails | Jason A. Donenfeld | 2017-05-30 | 1 | -4/+4 |
| | | | | Suggested-by: Sultan Alsawaf <sultanxda@gmail.com> | ||||
* | style: spaces after for loops | Jason A. Donenfeld | 2017-05-30 | 1 | -1/+1 |
| | |||||
* | peer: use iterator macro instead of callback | Jason A. Donenfeld | 2017-05-30 | 1 | -28/+22 |
| | |||||
* | handshake: process in parallel | Jason A. Donenfeld | 2017-05-30 | 1 | -19/+36 |
| | |||||
* | device: use rcu_barrier_bh | Jason A. Donenfeld | 2017-04-14 | 1 | -2/+2 |
| | |||||
* | compat: support 3.16 | Jason A. Donenfeld | 2017-04-09 | 1 | -0/+4 |
| | |||||
* | data: cleanup parallel workqueue and use two max_active | Jason A. Donenfeld | 2017-04-08 | 1 | -18/+18 |
| | |||||
* | device: move sysctl toggling to open time | Jason A. Donenfeld | 2017-02-27 | 1 | -30/+12 |
| | |||||
* | device: 4.11 uses cnf for addr_gen_mode | Jason A. Donenfeld | 2017-02-27 | 1 | -0/+4 |
| | |||||
* | device: disable ICMP redirects | Jason A. Donenfeld | 2017-02-21 | 1 | -1/+30 |
| | | | | | | | | | | | | The xfrm layer does this by checking for secpath, but we don't use secpath, so instead we have to jigger the config value ourselves. This is nearly always desired, since this is often how a wheel-spoke VPN works. There's very little use case for redirects with wireguard. This should be reverted if we ever move the test directly into ip_forward in net/ipv4/ip_forward.c near the call to ip_rt_send_redirect. | ||||
* | device: shorter workqueue names to fit in ps | Jason A. Donenfeld | 2017-02-13 | 1 | -2/+2 |
| | |||||
* | timers: use simpler uninit sync technique | Jason A. Donenfeld | 2017-02-07 | 1 | -2/+2 |
| | |||||
* | Update copyright | Jason A. Donenfeld | 2017-01-10 | 1 | -1/+1 |
| | |||||
* | types: enforce consistency | Jason A. Donenfeld | 2016-12-16 | 1 | -8/+8 |
| | |||||
* | peer: don't use sockaddr_storage to reduce memory usage | Jason A. Donenfeld | 2016-12-13 | 1 | -1/+1 |
| | |||||
* | device: ensure icmp skb length check is done for v6 | Jason A. Donenfeld | 2016-12-11 | 1 | -6/+2 |
| | |||||
* | device: allocate tstats in newlink | Jason A. Donenfeld | 2016-12-11 | 1 | -27/+20 |
| | | | | | Every place else does this in ndo_init, but this seems completely redundant, so to simplify things, I'm moving it into newlink. | ||||
* | device: clean up xmit error path | Jason A. Donenfeld | 2016-12-11 | 1 | -10/+15 |
| | |||||
* | device: simplify device_init, since it only returns -EEXIST | Jason A. Donenfeld | 2016-12-11 | 1 | -6/+1 |
| | |||||
* | device: dellink is already implictly unregister_netdevice_queue | Jason A. Donenfeld | 2016-12-11 | 1 | -10/+1 |
| | |||||
* | device: disable ipv6 auto address generation | Jason A. Donenfeld | 2016-12-11 | 1 | -2/+8 |
| | |||||
* | device: rc -> ret | Jason A. Donenfeld | 2016-12-11 | 1 | -3/+3 |
| | |||||
* | device: traditional if is cleaner than switch for this small | Jason A. Donenfeld | 2016-12-09 | 1 | -3/+1 |
| | | | | This also generates identical assembly. | ||||
* | device: make suspend code conditional on CONFIG_PM_SLEEP | Jason A. Donenfeld | 2016-12-09 | 1 | -0/+8 |
| | | | | | This isn't actually neccessary, since there are no-op stubs for these functions, but the MIPS people don't want any unneccessary bloat. | ||||
* | device: cleaner error teardown | Jason A. Donenfeld | 2016-12-09 | 1 | -43/+33 |
| | |||||
* | device: clear all peer ephemeral keys on sleep | Jason A. Donenfeld | 2016-12-09 | 1 | -2/+33 |
| | |||||
* | device: conntrack is optional | Jason A. Donenfeld | 2016-11-22 | 1 | -4/+12 |
| | |||||
* | headers: cleanup notices | Jason A. Donenfeld | 2016-11-21 | 1 | -1/+1 |
| | |||||
* | device: better debug message | Jason A. Donenfeld | 2016-11-16 | 1 | -1/+1 |
| | |||||
* | device: we need NONE for libpcap | Jason A. Donenfeld | 2016-11-16 | 1 | -2/+2 |
| | | | | | This makes addrconf add a temporary IPv6 address, which is annoying, and currently there's not a work around for this. | ||||
* | packets: consolidate constants | Jason A. Donenfeld | 2016-11-16 | 1 | -7/+7 |
| | |||||
* | various: nits from willy | Jason A. Donenfeld | 2016-11-15 | 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 | -4/+4 |
| | |||||
* | debug: support dynamic debug on skb addr | Jason A. Donenfeld | 2016-11-06 | 1 | -1/+1 |
| |