Comment 2 for bug 1553656

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/18190
Committed: http://github.org/Juniper/contrail-controller/commit/ed271dcb07db3e61677fed82d52152ca5b699652
Submitter: Zuul
Branch: R2.20

commit ed271dcb07db3e61677fed82d52152ca5b699652
Author: Praveen K V <email address hidden>
Date: Sun Mar 6 11:26:09 2016 +0530

Fix crash in PktHandler::ParseFlowPacket

For flow traps, pkt handler does not parse packet. Packet is parsed in
FlowHandler::Run routine. If packet belongs to other module, its
enqueued to the new module computed. At this stage, pkt_info->pkt field
is reset to NULL already. As part of enqueue to new module, packet trace
module accesses pkt_info->pkt field resulting in error.

Fix: Pass buffer pointer explicitly instead of picking from
pkt_info->pkt field

Change-Id: I74287ba3924abb54c67fcd6e28d72468feb46ebe
Fixes-Bug: 1553656