aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJonathan Neuschäfer <j.neuschaefer@gmx.net>2018-06-22 01:39:25 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-06-22 04:09:39 +0200
commit590c41089fd77bf43efda375c0e6bd3913cb9350 (patch)
tree7d3b40bdb7c7f86089130559ee1565167a13e7c1
parentsimd: add missing header (diff)
downloadwireguard-monolithic-historical-590c41089fd77bf43efda375c0e6bd3913cb9350.tar.xz
wireguard-monolithic-historical-590c41089fd77bf43efda375c0e6bd3913cb9350.zip
global: fix a few typos
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
-rw-r--r--src/compat/dst_cache/include/net/dst_cache.h2
-rw-r--r--src/send.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/compat/dst_cache/include/net/dst_cache.h b/src/compat/dst_cache/include/net/dst_cache.h
index 5a083c7..48021c0 100644
--- a/src/compat/dst_cache/include/net/dst_cache.h
+++ b/src/compat/dst_cache/include/net/dst_cache.h
@@ -90,7 +90,7 @@ int dst_cache_init(struct dst_cache *dst_cache, gfp_t gfp);
* @dst_cache: the cache
*
* No synchronization is enforced: it must be called only when the cache
- * is unsed.
+ * is unused.
*/
void dst_cache_destroy(struct dst_cache *dst_cache);
diff --git a/src/send.c b/src/send.c
index d3e3d75..f0f53d4 100644
--- a/src/send.c
+++ b/src/send.c
@@ -337,7 +337,7 @@ out_nokey:
skb_queue_walk(&packets, skb)
skb_orphan(skb);
/* Then we put them back on the top of the queue. We're not too concerned about
- * accidently getting things a little out of order if packets are being added
+ * accidentally getting things a little out of order if packets are being added
* really fast, because this queue is for before packets can even be sent and
* it's small anyway.
*/