Skip to contentSkip to conversation

public/io/netif.h: fix typos

PATCH In review Paul Durrant 2 participants 3 messages Feb 10, 2016 – Feb 11, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 public/io/netif.h: fix typos

Unfortunately my patch 162a81ab "document control ring and toeplitz hashing" contained a couple of typos. This patch fixes them.

Cc Ian Campbell <[email protected]>
Cc Ian Jackson <[email protected]>
Cc Jan Beulich <[email protected]>
Cc Keir Fraser <[email protected]>
Cc Tim Deegan <[email protected]>
---
 xen/include/public/io/netif.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
xen/include/public/io/netif.h +2 -2
index 8816e0f..8d82625 100644
@@ -234,7 +234,7 @@
  * Result = ToeplitzHash(Buffer, 32)
  */
 #define _NETIF_CTRL_TOEPLITZ_HASH_IPV6     2
-#define NETIF_CTRL_TOEPLITZ_HASH_IPV6      (1 << _NETIF_CTRL_TOEPLITZ_HASH_IPV4)
+#define NETIF_CTRL_TOEPLITZ_HASH_IPV6      (1 << _NETIF_CTRL_TOEPLITZ_HASH_IPV6)
 
 /*
  * A hash calculated over an IP version 6 header and TCP header as
@@ -248,7 +248,7 @@
  * Result = ToeplitzHash(Buffer, 36)
  */
 #define _NETIF_CTRL_TOEPLITZ_HASH_IPV6_TCP 3
-#define NETIF_CTRL_TOEPLITZ_HASH_IPV6_TCP  (1 << _NETIF_CTRL_TOEPLITZ_HASH_IPV4_TCP)
+#define NETIF_CTRL_TOEPLITZ_HASH_IPV6_TCP  (1 << _NETIF_CTRL_TOEPLITZ_HASH_IPV6_TCP)
 
 /*
  * Control requests (netif_ctrl_request_t)
Signature · 1 line
2.1.4
#2 lore raw
Quoted 12 lines · Ian Campbell
Quoted 9 lines · Paul Durrant

Unfortunately my patch 162a81ab "document control ring and toeplitz hashing" contained a couple of typos. This patch fixes them.

Cc Ian Campbell <[email protected]>
Cc Ian Jackson <[email protected]>
Cc Jan Beulich <[email protected]>
Cc Keir Fraser <[email protected]>
Cc Tim Deegan <[email protected]>
Quoted 1 line

and applied.