aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/interface/runtime.c
diff options
context:
space:
mode:
authorMohammed Hawari <mohammed@hawari.fr>2021-05-11 17:28:44 +0200
committerDamjan Marion <dmarion@me.com>2021-05-14 15:45:39 +0000
commitc3d0012b67343c9e2531b99b823545815db7799c (patch)
treede76abc94bc7986bfcc5be01612e1ba7f2ccba0c /src/vnet/interface/runtime.c
parentc389de2aa8819030f8a9a15f2e3d67ca853bb43b (diff)
interface: fix converity in update_runtime_data
Change-Id: I59eb41516b5e052109428ae70660ed49126c25bb Type: fix Signed-off-by: Mohammed Hawari <mohammed@hawari.fr>
Diffstat (limited to 'src/vnet/interface/runtime.c')
-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 7ec1049d8c7..f93bb1c0ea0 100644
--- a/src/vnet/interface/runtime.c
+++ b/src/vnet/interface/runtime.c
@@ -160,7 +160,7 @@ vnet_hw_if_update_runtime_data (vnet_main_t *vnm, u32 hw_if_index)
if (vec_len (rt->rxq_poll_vector) != vec_len (d[i]))
something_changed_on_rx = 1;
else if (memcmp (d[i], rt->rxq_poll_vector,
- vec_len (d[i]) * sizeof (*d)))
+ vec_len (d[i]) * sizeof (**d)))
something_changed_on_rx = 1;
if (clib_interrupt_get_n_int (rt->rxq_interrupts) != last_int + 1)
something_changed_on_rx = 1;