commit 5f98a2f503a5ca6fba676ec3b788cfa849e1466b
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
(cherry picked from commit ed271dcb07db3e61677fed82d52152ca5b699652)
Reviewed: https:/ /review. opencontrail. org/18200 github. org/Juniper/ contrail- controller/ commit/ 5f98a2f503a5ca6 fba676ec3b788cf a849e1466b
Committed: http://
Submitter: Zuul
Branch: R2.22.x
commit 5f98a2f503a5ca6 fba676ec3b788cf a849e1466b
Author: Praveen K V <email address hidden>
Date: Sun Mar 6 11:26:09 2016 +0530
Fix crash in PktHandler: :ParseFlowPacke t
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: I74287ba3924abb 54c67fcd6e28d72 468feb46ebe 1677fed82d52152 ca5b699652)
Fixes-Bug: 1553656
(cherry picked from commit ed271dcb07db3e6