Changeset eff6d8c for lib/trace.c


Ignore:
Timestamp:
04/14/11 15:31:22 (10 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:
05a3177
Parents:
99425f8
Message:
  • Ensure cache is cleared when a packet is constructed from a buffer
File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/trace.c

    r9cc1266 reff6d8c  
    17681768        memcpy(packet->payload,data,(size_t)len);
    17691769        packet->type=pcap_linktype_to_rt(libtrace_to_pcap_linktype(linktype));
     1770
     1771        trace_clear_cache(packet);
    17701772}
    17711773
Note: See TracChangeset for help on using the changeset viewer.