[Oisf-devel] Is pcap_setfilter call is not thread safe issue in source_pfring

Victor Julien victor at inliniac.net
Mon Jun 4 11:30:55 UTC 2012


Luca told me it isn't, so I've added a lock to protect setting the filter.

Cheers,
Victor

On 05/25/2012 10:00 AM, Delta Yeh wrote:
> I think we should ask  Luca :)
> 
> 2012/5/25 Victor Julien <victor at inliniac.net>:
>> On 05/25/2012 05:00 AM, Delta Yeh wrote:
>>> Hi all,
>>>   I see a fix for  pcap_setfilter calls as they are not thread safe
>>> issue, but I only see the fix to pcap source.
>>>   Does pfring source also should be fixed.
>>
>> Good question. It depends on how this functionality is implemented in
>> pf_ring. Do you have any info on that?
>>
>> --
>> ---------------------------------------------
>> Victor Julien
>> http://www.inliniac.net/
>> PGP: http://www.inliniac.net/victorjulien.asc
>> ---------------------------------------------
>>
>> _______________________________________________
>> Oisf-devel mailing list
>> Oisf-devel at openinfosecfoundation.org
>> http://lists.openinfosecfoundation.org/mailman/listinfo/oisf-devel
> 


-- 
---------------------------------------------
Victor Julien
http://www.inliniac.net/
PGP: http://www.inliniac.net/victorjulien.asc
---------------------------------------------




More information about the Oisf-devel mailing list