From c3d0012b67343c9e2531b99b823545815db7799c Mon Sep 17 00:00:00 2001 From: Mohammed Hawari Date: Tue, 11 May 2021 17:28:44 +0200 Subject: interface: fix converity in update_runtime_data Change-Id: I59eb41516b5e052109428ae70660ed49126c25bb Type: fix Signed-off-by: Mohammed Hawari --- src/vnet/interface/runtime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vnet/interface') 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; -- cgit 1.2.3-korg