diff options
author | Ole Troan <ot@cisco.com> | 2019-03-11 13:15:54 +0100 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2019-03-12 15:30:20 +0000 |
commit | da7f7b6164e976a97ff0afb13f488c60461402bc (patch) | |
tree | e89bab0df37f10d078524507fd7e38eba2692ee8 /src/vnet/MTU.md | |
parent | 5995482d310c97616beea2d5002943745b453515 (diff) |
ICMP46 error: Clone first buffer instead of "truncating" original buffer
Previous code was walked buffer chain, effectively trying to "truncate" the chain, reset the
length of first buffer and reused that as the ICMP error message. That could have issues in cases
there were other users of the buffer chain. Update to clone the first buffer in chain, and
use that for the ICMP error message instead.
Change-Id: Ibc1a0bf2d854dae41874808c8297028ed93dd69d
Signed-off-by: Ole Troan <ot@cisco.com>
Diffstat (limited to 'src/vnet/MTU.md')
0 files changed, 0 insertions, 0 deletions