From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anton VG Subject: Re: (nfnl_talk: recvmsg over-run) and (nf_queue: full at 1024 entries, dropping packets(s). Dropped: 582) - bug or just some defaults increase required? Date: Mon, 16 Feb 2009 20:41:25 +0500 Message-ID: References: <200902121545.16590.anton.vazir@gmail.com> <4996FBBE.20009@netfilter.org> <200902161819.27630.anton.vazir@gmail.com> <49996D49.9050606@netfilter.org> <49998504.9020004@netfilter.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit To: Pablo Neira Ayuso , netfilter-devel , Vitaly Bodzhgua Return-path: Received: from mail-bw0-f161.google.com ([209.85.218.161]:58116 "EHLO mail-bw0-f161.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751152AbZBPPl1 (ORCPT ); Mon, 16 Feb 2009 10:41:27 -0500 Received: by bwz5 with SMTP id 5so3171696bwz.13 for ; Mon, 16 Feb 2009 07:41:25 -0800 (PST) In-Reply-To: Sender: netfilter-devel-owner@vger.kernel.org List-ID: >>From the fcntl MAN page If the O_NONBLOCK flag is not enabled, then system call is blocked until the lock is removed or converted to a mode that is compatible with the access. So, just to clarify, that commenting out the non-blocking fcntl - does not solve the problem, Error persists. 2009/2/16 Anton VG : > The same stuff with commented out > > // fcntl(nfqfd,F_SETFL,O_NONBLOCK); >> >> With the current interface of libnetfilter_queue, the queue creation must be >> blocking to ensure serialization. I'll document this. I can add some >> functions to allow non-blocking queue creation but that's a different point.