Skip to content
This repository has been archived by the owner on Feb 20, 2024. It is now read-only.

Commit

Permalink
Fix a few issues with packet ownership
Browse files Browse the repository at this point in the history
  • Loading branch information
giovanninardini committed Jun 25, 2021
1 parent 759d3a5 commit f6701a8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/stack/mac/layer/LteMacEnb.cc
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,8 @@ bool LteMacEnb::getPfTmsAwareFlag(Direction dir)

void LteMacEnb::deleteQueues(MacNodeId nodeId)
{
Enter_Method_Silent();

LteMacBase::deleteQueues(nodeId);

LteMacBufferMap::iterator bit;
Expand Down
2 changes: 2 additions & 0 deletions src/stack/rlc/um/LteRlcUm.cc
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,8 @@ void LteRlcUm::handleLowerMessage(cPacket *pktAux)

void LteRlcUm::deleteQueues(MacNodeId nodeId)
{
Enter_Method_Silent();

UmTxEntities::iterator tit;
UmRxEntities::iterator rit;

Expand Down
2 changes: 2 additions & 0 deletions src/stack/rlc/um/entity/UmRxEntity.cc
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ UmRxEntity::~UmRxEntity()
void UmRxEntity::enque(cPacket* pktAux)
{
Enter_Method("enque()");
take(pktAux);

EV << NOW << " UmRxEntity::enque - buffering new PDU" << endl;

auto pktPdu = check_and_cast<Packet *>(pktAux);
Expand Down

0 comments on commit f6701a8

Please sign in to comment.