Changeset 8a63abd for lib


Ignore:
Timestamp:
06/29/18 15:03:35 (2 years ago)
Author:
Shane Alcock <salcock@…>
Branches:
cachetimestamps, develop, master, rc-4.0.4, ringdecrementfix, ringperformance
Children:
59b2ed8
Parents:
a0f031b
Message:

Fix build issue on FreeBSD due to global declared in bad place.

Global mutex for the pagesize was declared inside some Linux
only code, but used in code for all systems.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/format_linux_ring.c

    r32ee9b2 r8a63abd  
    6161        ((mac) > (hdrend) && (mac) < (net) ? (mac) : (net))
    6262
     63static pthread_mutex_t pagesize_mutex;
    6364#ifdef HAVE_NETPACKET_PACKET_H
    6465/* Get current frame in the ring buffer*/
     
    7172static int pagesize = 0;
    7273
    73 static pthread_mutex_t pagesize_mutex;
    7474
    7575/*
Note: See TracChangeset for help on using the changeset viewer.