diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-07-10 14:09:12 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-07-20 03:37:39 +0200 |
commit | c5a6241a38db13a73c710fcfde86b5cf7796260f (patch) | |
tree | 63c05905d4b96ac1185959de694ae506b0da9401 /src/device.h | |
parent | 508faa541275958ccef5c46d72e2c932dcd963bc (diff) |
global: use pointer to net_device
DaveM prefers it to be this way per [1].
[1] http://www.spinics.net/lists/netdev/msg443992.html
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/device.h')
-rw-r--r-- | src/device.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/device.h b/src/device.h index 5ba2c5d..77f1b2e 100644 --- a/src/device.h +++ b/src/device.h @@ -22,6 +22,7 @@ struct handshake_worker { }; struct wireguard_device { + struct net_device *dev; struct list_head device_list; struct sock __rcu *sock4, *sock6; u16 incoming_port; |