aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2017-07-15 08:56:22 -0400
committerFlorin Coras <florin.coras@gmail.com>2017-07-16 18:51:35 +0000
commit365a2b851024080c2f8f59bce2b61f243a85c254 (patch)
tree81632ba7571ca314348a7fda55b8bc63b21f752c
parent3eb5062b40feb3002de09a3caff86232d6e1adea (diff)
Adjust replication context to match vnet_buffer(b)
Fixes a coverity warning, albeit not a serious issue. Change-Id: I0fa28342ac4b222c1ba7f7f2befde455fd42d682 Signed-off-by: Dave Barach <dave@barachs.net>
-rw-r--r--src/vnet/replication.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vnet/replication.h b/src/vnet/replication.h
index ce4b3ff1..42ec69a4 100644
--- a/src/vnet/replication.h
+++ b/src/vnet/replication.h
@@ -27,8 +27,8 @@
typedef struct
{
/* The entire vnet buffer header restored for each replica */
- u8 vnet_buffer[32]; /* 16B aligned to allow vector unit copy */
- u8 reserved[32]; /* space for future expansion of vnet buffer header */
+ u8 vnet_buffer[40]; /* 16B aligned to allow vector unit copy */
+ u8 reserved[24]; /* space for future expansion of vnet buffer header */
/* feature state used during this replication */
u64 feature_replicas; /* feature's id for its set of replicas */