diff options
author | Benoît Ganne <bganne@cisco.com> | 2019-07-22 14:21:46 +0200 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2019-10-22 08:14:26 +0000 |
commit | 8a4bfdae87286ed281df855c58b669eb6b76aaf8 (patch) | |
tree | c7d98f8132069974782dbc0d88530d623153fabf /src/plugins/cdp | |
parent | 26ea1465aeb2934fd86a372666cc3c65e190826c (diff) |
vppinfra: add vec_set_len()
l2-flood and bier nodes reset vector length without updating it to its
effective size. Introduce a helper to do it (this allows ASAN to keep
track of the new vector size).
Type: refactor
Change-Id: I2d652550c440f0553a2b49c3ee3d37b49ebc16c3
Signed-off-by: Benoît Ganne <bganne@cisco.com>
Diffstat (limited to 'src/plugins/cdp')
0 files changed, 0 insertions, 0 deletions