From: Eric Leblond Date: Tue, 24 Feb 2015 16:46:06 +0000 (+0100) Subject: af-packet: don't unlock twice the bpf mutex X-Git-Tag: suricata-2.1beta4~172 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=290b01f95e1864fca8926797a183260146659213;p=thirdparty%2Fsuricata.git af-packet: don't unlock twice the bpf mutex --- diff --git a/src/source-af-packet.c b/src/source-af-packet.c index 174fcb0e9d..813987959a 100644 --- a/src/source-af-packet.c +++ b/src/source-af-packet.c @@ -1637,7 +1637,6 @@ TmEcode AFPSetBPFFilter(AFPThreadVars *ptv) return TM_ECODE_FAILED; } - SCMutexUnlock(&afpacket_bpf_set_filter_lock); return TM_ECODE_OK; }