Ignore:
Timestamp:
03/10/11 16:24:22 (11 years ago)
Author:
Shane Alcock <salcock@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
4c90362
Parents:
361d283
Message:
  • Fixed bug where the packet buffer can be freed twice following a trace termination event
  • Fixed bug with processing SLL traces that have actually retained the Ethernet header
File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/format_helper.c

    r9cc1266 r8ccb7897  
    166166                        trace_destroy_packet(trace->event.packet);
    167167                        trace->event.packet = NULL;
     168                        packet->buffer = NULL;
     169                        packet->header = NULL;
     170                        packet->payload = NULL;
     171                        packet->buf_control = TRACE_CTRL_EXTERNAL;
    168172                        return event;
    169173                }
Note: See TracChangeset for help on using the changeset viewer.