aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/interface
diff options
context:
space:
mode:
authorMohammed Hawari <mohammed@hawari.fr>2021-09-08 11:30:21 +0200
committerDamjan Marion <dmarion@me.com>2021-09-08 14:33:03 +0000
commit2f8174ff5101409d2335069330a4d674ec01afb9 (patch)
tree61cfaf80b3386c2afb807df028eabb529014503d /src/vnet/interface
parent710bdef43c2bfe6a6fd208edd080c75f06c5dfb7 (diff)
interface: fix coverity issue
Change-Id: I5bb1ab3a57097bf03e7de5541cc8496655bc728f Signed-off-by: Mohammed Hawari <mohammed@hawari.fr> Type: fix Fixes: 5b22339973feaa3eba48ead1e9fb428b1816c0cc
Diffstat (limited to 'src/vnet/interface')
-rw-r--r--src/vnet/interface/runtime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/interface/runtime.c b/src/vnet/interface/runtime.c
index d507a88f792..e63f1ecc2fc 100644
--- a/src/vnet/interface/runtime.c
+++ b/src/vnet/interface/runtime.c
@@ -178,7 +178,7 @@ vnet_hw_if_update_runtime_data (vnet_main_t *vnm, u32 hw_if_index)
if (vec_len (rt->rxq_vector_poll) != vec_len (a[i]))
something_changed_on_rx = 1;
else if (memcmp (a[i], rt->rxq_vector_poll,
- vec_len (a[i]) * sizeof (*a)))
+ vec_len (a[i]) * sizeof (**a)))
something_changed_on_rx = 1;
}
}