summaryrefslogtreecommitdiffstats
path: root/src/scripts
diff options
context:
space:
mode:
authorOle Troan <ot@cisco.com>2019-03-11 13:15:54 +0100
committerDamjan Marion <dmarion@me.com>2019-03-12 15:30:20 +0000
commitda7f7b6164e976a97ff0afb13f488c60461402bc (patch)
treee89bab0df37f10d078524507fd7e38eba2692ee8 /src/scripts
parent5995482d310c97616beea2d5002943745b453515 (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/scripts')
0 files changed, 0 insertions, 0 deletions