vlib: fix counter_index check 92/39992/3
authorlijinhui <lijh_7@chinatelecom.cn>
Thu, 22 Feb 2024 03:16:10 +0000 (11:16 +0800)
committerDamjan Marion <dmarion@0xa5.net>
Mon, 1 Apr 2024 17:57:58 +0000 (17:57 +0000)
commiteb2a4189f5962e6345cd10e7d7a3267451dc04bb
tree5a73f7a88cf1a2a114469cd4ec766be3e2301be4
parent5e814768b8d21fe4812b63a38b88bb1175404ed8
vlib: fix counter_index check

Ensure counter index is valid before using it to lookup
the counter.

Type: fix
Change-Id: I423c7a6aa6b65f6367b18d8e99cf40f52e06b416
Signed-off-by: lijinhui <lijh_7@chinatelecom.cn>
src/vlib/drop.c