Squashed commit of the following:
commit
e1328ce2b3775008806e4bc2a845c965c3633df4
Author: Shravan Rangaraju <shrarang@cisco.com>
Date: Tue Mar 5 09:29:10 2019 -0500
stream_tcp: initialize priv_ptr for pdus
PacketManager::format_tcp(enc_flags, p, pdu, PSEUDO_PKT_TCP, &pkth, pkth.opaque);
prep_pdu(trs, trs.sos.session->flow, p, pkt_flags, pdu);
(const_cast<DAQ_PktHdr_t*>(pdu->pkth))->ts = tv;
+ // FIXIT-M: This hack will go away with daqng
+ (const_cast<DAQ_PktHdr_t*>(pdu->pkth))->priv_ptr = p->pkth->priv_ptr;
pdu->dsize = 0;
pdu->data = nullptr;
return pdu;