summaryrefslogtreecommitdiff
path: root/datapath-windows
diff options
context:
space:
mode:
authorBen Pfaff <blp@ovn.org>2018-09-26 16:12:39 -0700
committerBen Pfaff <blp@ovn.org>2018-09-27 10:22:38 -0700
commit420632af322e2f519b098b1d4a0504c9eaebd07a (patch)
treeb54715067162ed5ea0c54dd0d7dd9c307121f12a /datapath-windows
parentd31ac3b3797ab7be727bf5da39f098af619c61d8 (diff)
downloadopenvswitch-420632af322e2f519b098b1d4a0504c9eaebd07a.tar.gz
treewide: Fix spelling of "receive".
Signed-off-by: Ben Pfaff <blp@ovn.org> Acked-by: Justin Pettit <jpettit@ovn.org>
Diffstat (limited to 'datapath-windows')
-rw-r--r--datapath-windows/ovsext/IpFragment.c4
-rw-r--r--datapath-windows/ovsext/IpFragment.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/datapath-windows/ovsext/IpFragment.c b/datapath-windows/ovsext/IpFragment.c
index d59d7cf96..bb2cfe021 100644
--- a/datapath-windows/ovsext/IpFragment.c
+++ b/datapath-windows/ovsext/IpFragment.c
@@ -230,7 +230,7 @@ cleanup:
/*
*----------------------------------------------------------------------------
* OvsProcessIpv4Fragment
- * Reassemble the fragments once all the fragments are recieved and
+ * Reassemble the fragments once all the fragments are received and
* return NDIS_STATUS_PENDING for the pending fragments
* XXX - Instead of copying NBls, Keep the NBLs in limbo state.
*----------------------------------------------------------------------------
@@ -403,7 +403,7 @@ found:
entry->tail = fragStorage;
}
- /*Update Maximum recieved Unit */
+ /*Update Maximum Receive Unit */
entry->mru = entry->mru > (ETH_HEADER_LENGTH + ipHdrLen + payloadLen) ?
entry->mru : (ETH_HEADER_LENGTH + ipHdrLen + payloadLen);
entry->numFragments++;
diff --git a/datapath-windows/ovsext/IpFragment.h b/datapath-windows/ovsext/IpFragment.h
index cd5b96033..2b2305132 100644
--- a/datapath-windows/ovsext/IpFragment.h
+++ b/datapath-windows/ovsext/IpFragment.h
@@ -57,7 +57,7 @@ typedef struct _OVS_IPFRAG_THREAD_CTX {
#define IP_FRAG_HASH_TABLE_SIZE ((UINT32)1 << 10)
#define IP_FRAG_HASH_TABLE_MASK (IP_FRAG_HASH_TABLE_SIZE - 1)
-/*30s -Sufficient time to recieve all fragments.*/
+/*30s -Sufficient time to receive all fragments.*/
#define IPFRAG_ENTRY_TIMEOUT 300000000LL
#define IPFRAG_CLEANUP_INTERVAL IPFRAG_ENTRY_TIMEOUT * 2 /*1m.*/
PNET_BUFFER_LIST OvsIpv4FragmentNBL(PVOID ovsContext,