All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick McHardy <kaber@trash.net>
To: Jay Manni <JManni@FireEye.com>
Cc: netfilter-devel@lists.netfilter.org
Subject: Re: unregister_netdevice with negative refcnt error while using NFQUEUE with ebtables mark
Date: Tue, 27 Mar 2007 17:16:33 +0200	[thread overview]
Message-ID: <46093551.2060906@trash.net> (raw)
In-Reply-To: <74ECB30468A30A4DA2BD88DA5387CAE3508835@fempexch.FireEye.com>

Jay Manni wrote:
> I am using iptables to queue packets to an NFQUEUE from a tap interface (attached to a VM). It works fine, except that I get an unregister_netdevice error with a negative refcnt, while freeing the tap devices.
> 
>  unregister_netdevice: waiting for tap3 to become free. Usage count = -50
> 
> I noticed some posts about the negative refcnt issue but that was related to appletalk.
> Anybody know whats happening here?


Something very broken obviously, the reference count should never
drop below zero. What kernel version are you running, and what
are you using as queuing backend (ip_queue, nfnetlink_queue)?
Can you also reproduce the problem without queueing?

  reply	other threads:[~2007-03-27 15:16 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-26  5:25 unregister_netdevice with negative refcnt error while using NFQUEUE with ebtables mark Jay Manni
2007-03-27 15:16 ` Patrick McHardy [this message]
2007-03-28  8:42   ` Jay Manni
2007-03-28  9:33     ` Patrick McHardy
2007-03-28 23:34       ` Jay Manni
2007-03-29 11:07         ` Patrick McHardy
2007-03-29 23:19           ` Jay Manni
2007-03-30 13:21             ` Patrick McHardy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46093551.2060906@trash.net \
    --to=kaber@trash.net \
    --cc=JManni@FireEye.com \
    --cc=netfilter-devel@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.