diff options
author | Benoît Ganne <bganne@cisco.com> | 2023-01-26 17:04:58 +0100 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2023-01-27 16:37:15 +0000 |
commit | 8a1d07922b20f0c960af4b99c642aec08ae1b9c4 (patch) | |
tree | 7a1dca41a637e75852b684f51ef6be5f257c2de3 /src/vnet/hdlc | |
parent | 49bbf9e98aacfe6f807ab54cb9aebda53e80dce8 (diff) |
api: keep AddressSanitizer happy
socket_tx_buffer is a vector, update its length accordingly so that
AddressSanitizer can keep track of the allowed memory area.
By doing so we can get rid of socket_tx_nbytes which becomes redundant
with the vector length.
Type: fix
Change-Id: Ied7cb430b5dd40d5ed1390aa15bd5f455a0dba62
Signed-off-by: Benoît Ganne <bganne@cisco.com>
Diffstat (limited to 'src/vnet/hdlc')
0 files changed, 0 insertions, 0 deletions