aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/bonding/device.c
diff options
context:
space:
mode:
authorSteven Luong <sluong@cisco.com>2019-08-14 19:12:17 -0700
committerSteven Luong <sluong@cisco.com>2019-08-14 19:21:16 -0700
commit2961dfda406df702606b31b03dd30a1683f92e7c (patch)
treec4f11ee2b2740998193cc4115a51431b611c442d /src/vnet/bonding/device.c
parentf92205ff63841c2ebfc4c6df731b43830125762d (diff)
devices: VPP crash when doing packet trace dump
VPP recycles the graph node index when the interface is deleted. Most tx graph nodes have format_tx_function. tapcli does not. If tapcli happens to recycle a tx graph node index which has format_tx_function, problem will arise when showing the trace buffer which was collected for the node index that tapcli recycles. The fix is nothing fantasy, just add a format_tx_trace function which does nothing in case it it called. tapcli is deprecated in 19.04. There is no need to cherrypick this to later releases. Type: fix Ticket: VPP-1742 Signed-off-by: Steven Luong <sluong@cisco.com> Change-Id: I010b3f35e59a474cb134a8b1bc718c242e3aa93c
Diffstat (limited to 'src/vnet/bonding/device.c')
0 files changed, 0 insertions, 0 deletions