summaryrefslogtreecommitdiff
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-16 19:22:22 -0800
commit964a2a53d9c7a6f9c7bb63a4e12fe667f28736ee (patch)
treef1d3fc0a8d6245c3c5ab029aae3fc55695c593a3
parenta8f1bc7bdea3e5d4076f4e45a59c040d4c034f1f (diff)
downloadwireguard-linux-trimmed-964a2a53d9c7a6f9c7bb63a4e12fe667f28736ee.tar.gz
wireguard-linux-trimmed-964a2a53d9c7a6f9c7bb63a4e12fe667f28736ee.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>
-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 7e675f5..9c6bab9 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;