aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/device.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* device: IFF_NO_QUEUE is a private flag, not a public oneJason A. Donenfeld2017-09-111-1/+1
|
* timers: rename confusingly named functions and variablesJason A. Donenfeld2017-08-041-2/+2
| | | | Suggested-by: Mathias Hall-Andersen <mathias@hall-andersen.dk>
* global: use pointer to net_deviceJason A. Donenfeld2017-07-201-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 paramJason A. Donenfeld2017-07-201-1/+1
|
* device: cleanup register_netdev logicJason A. Donenfeld2017-07-061-15/+7
|
* compat: priv_destructor got backportedJason A. Donenfeld2017-07-061-5/+7
|
* global: cleanup IP header checkingJason A. Donenfeld2017-06-261-1/+7
| | | | This way is more correct and ensures we're within the skb head.
* device: remove icmp conntrack hacksJason A. Donenfeld2017-06-261-33/+6
| | | | This logic belongs upstream.
* device: avoid double icmp send on routing loopJason A. Donenfeld2017-06-261-1/+0
|
* ratelimiter: rewrite from scratchJason A. Donenfeld2017-06-261-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 notifierJason A. Donenfeld2017-06-241-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.12Jason A. Donenfeld2017-06-241-4/+13
|
* main: annotate init/exit functions to save memoryJason A. Donenfeld2017-06-241-2/+2
|
* device: do-while assignment styleJason A. Donenfeld2017-06-011-1/+1
|
* debug: print interface name in dmesgJason A. Donenfeld2017-05-311-5/+5
|
* device: keep going when share_check failsJason A. Donenfeld2017-05-301-4/+4
| | | | Suggested-by: Sultan Alsawaf <sultanxda@gmail.com>
* style: spaces after for loopsJason A. Donenfeld2017-05-301-1/+1
|
* peer: use iterator macro instead of callbackJason A. Donenfeld2017-05-301-28/+22
|
* handshake: process in parallelJason A. Donenfeld2017-05-301-19/+36
|
* device: use rcu_barrier_bhJason A. Donenfeld2017-04-141-2/+2
|
* compat: support 3.16Jason A. Donenfeld2017-04-091-0/+4
|
* data: cleanup parallel workqueue and use two max_activeJason A. Donenfeld2017-04-081-18/+18
|
* device: move sysctl toggling to open timeJason A. Donenfeld2017-02-271-30/+12
|
* device: 4.11 uses cnf for addr_gen_modeJason A. Donenfeld2017-02-271-0/+4
|
* device: disable ICMP redirectsJason A. Donenfeld2017-02-211-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 psJason A. Donenfeld2017-02-131-2/+2
|
* timers: use simpler uninit sync techniqueJason A. Donenfeld2017-02-071-2/+2
|
* Update copyrightJason A. Donenfeld2017-01-101-1/+1
|
* types: enforce consistencyJason A. Donenfeld2016-12-161-8/+8
|
* peer: don't use sockaddr_storage to reduce memory usageJason A. Donenfeld2016-12-131-1/+1
|
* device: ensure icmp skb length check is done for v6Jason A. Donenfeld2016-12-111-6/+2
|
* device: allocate tstats in newlinkJason A. Donenfeld2016-12-111-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 pathJason A. Donenfeld2016-12-111-10/+15
|
* device: simplify device_init, since it only returns -EEXISTJason A. Donenfeld2016-12-111-6/+1
|
* device: dellink is already implictly unregister_netdevice_queueJason A. Donenfeld2016-12-111-10/+1
|
* device: disable ipv6 auto address generationJason A. Donenfeld2016-12-111-2/+8
|
* device: rc -> retJason A. Donenfeld2016-12-111-3/+3
|
* device: traditional if is cleaner than switch for this smallJason A. Donenfeld2016-12-091-3/+1
| | | | This also generates identical assembly.
* device: make suspend code conditional on CONFIG_PM_SLEEPJason A. Donenfeld2016-12-091-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 teardownJason A. Donenfeld2016-12-091-43/+33
|
* device: clear all peer ephemeral keys on sleepJason A. Donenfeld2016-12-091-2/+33
|
* device: conntrack is optionalJason A. Donenfeld2016-11-221-4/+12
|
* headers: cleanup noticesJason A. Donenfeld2016-11-211-1/+1
|
* device: better debug messageJason A. Donenfeld2016-11-161-1/+1
|
* device: we need NONE for libpcapJason A. Donenfeld2016-11-161-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 constantsJason A. Donenfeld2016-11-161-7/+7
|
* various: nits from willyJason A. Donenfeld2016-11-151-1/+1
|
* debug: cleanup skb printingJason A. Donenfeld2016-11-151-5/+1
|
* socket: keep track of src address in sending packetsJason A. Donenfeld2016-11-151-4/+4
|
* debug: support dynamic debug on skb addrJason A. Donenfeld2016-11-061-1/+1
|