diff options
author | Simon Horman <horms@kernel.org> | 2024-08-22 14:57:33 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-08-26 18:37:23 +0200 |
commit | 70d0bb45fae87a3b08970a318e15f317446a1956 (patch) | |
tree | dda6bb342fa6d21234ec5a8c0b374537f893f5f4 /include/net/erspan.h | |
parent | x25: Correct spelling in x25.h (diff) | |
download | linux-70d0bb45fae87a3b08970a318e15f317446a1956.tar.xz linux-70d0bb45fae87a3b08970a318e15f317446a1956.zip |
net: Correct spelling in headers
Correct spelling in Networking headers.
As reported by codespell.
Signed-off-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20240822-net-spell-v1-12-3a98971ce2d2@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/net/erspan.h')
-rw-r--r-- | include/net/erspan.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/erspan.h b/include/net/erspan.h index 6cb4cbd6a48f..c6209e7b6c96 100644 --- a/include/net/erspan.h +++ b/include/net/erspan.h @@ -89,7 +89,7 @@ enum erspan_encap_type { ERSPAN_ENCAP_NOVLAN = 0x0, /* originally without VLAN tag */ ERSPAN_ENCAP_ISL = 0x1, /* originally ISL encapsulated */ ERSPAN_ENCAP_8021Q = 0x2, /* originally 802.1Q encapsulated */ - ERSPAN_ENCAP_INFRAME = 0x3, /* VLAN tag perserved in frame */ + ERSPAN_ENCAP_INFRAME = 0x3, /* VLAN tag preserved in frame */ }; #define ERSPAN_V1_MDSIZE 4 @@ -192,7 +192,7 @@ static inline void erspan_build_header(struct sk_buff *skb, enc_type = ERSPAN_ENCAP_NOVLAN; /* If mirrored packet has vlan tag, extract tci and - * perserve vlan header in the mirrored frame. + * preserve vlan header in the mirrored frame. */ if (eth->h_proto == htons(ETH_P_8021Q)) { qp = (struct qtag_prefix *)(skb->data + 2 * ETH_ALEN); |