summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireguard
diff options
context:
space:
mode:
authorJosh Soref <jsoref@gmail.com>2019-12-15 22:08:02 +0100
committerDavid S. Miller <davem@davemloft.net>2019-12-17 04:22:22 +0100
commita2ec8b5706944d228181c8b91d815f41d6dd8e7b (patch)
tree7e3951a8bf354b925b7c1a748435f05773baeb56 /drivers/net/wireguard
parentwireguard: Kconfig: select parent dependency for crypto (diff)
downloadlinux-a2ec8b5706944d228181c8b91d815f41d6dd8e7b.tar.xz
linux-a2ec8b5706944d228181c8b91d815f41d6dd8e7b.zip
wireguard: global: fix spelling mistakes in comments
This fixes two spelling errors in source code comments. Signed-off-by: Josh Soref <jsoref@gmail.com> [Jason: rewrote commit message] Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wireguard')
-rw-r--r--drivers/net/wireguard/receive.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireguard/receive.c b/drivers/net/wireguard/receive.c
index 7e675f541491..9c6bab9c981f 100644
--- a/drivers/net/wireguard/receive.c
+++ b/drivers/net/wireguard/receive.c
@@ -380,7 +380,7 @@ static void wg_packet_consume_data_done(struct wg_peer *peer,
/* We've already verified the Poly1305 auth tag, which means this packet
* was not modified in transit. We can therefore tell the networking
* stack that all checksums of every layer of encapsulation have already
- * been checked "by the hardware" and therefore is unneccessary to check
+ * been checked "by the hardware" and therefore is unnecessary to check
* again in software.
*/
skb->ip_summed = CHECKSUM_UNNECESSARY;