Netdev List
 help / color / mirror / Atom feed
From: Ignacy Gawedzki <ignacy.gawedzki@green-communications.fr>
To: netdev@vger.kernel.org
Subject: Attempt to auto-load em_cmp.ko results in negative module refcnt
Date: Mon, 16 Feb 2015 11:59:12 +0100	[thread overview]
Message-ID: <20150216105912.GA16798@zenon.in.qult.net> (raw)

Hi,

This simple test case

  tc qdisc add dev eth0 root handle 1: htb
  tc class add dev eth0 root classid 1: htb rate 1Gbit
  tc class add dev eth0 parent 1: classid 1:1 htb rate 1Gbit
  tc filter add dev eth0 parent 1: basic match 'cmp(u8 at 0 eq 0)' classid 1:1

fails with the following

  RTNETLINK answers: No such file or directory
  We have an error talking to the kernel

if em_cmp.ko is not loaded beforehand.

After that, lsmod shows that em_cmp.ko is loaded indeed, but its usage count
is -1 and an attempd to unload the module results in a "BUG at
kernel/module.c:752".

This has been broken pretty recently, I'm currently attempting a git bisect on
this.

-- 
Ignacy Gawędzki
R&D Engineer
Green Communications

             reply	other threads:[~2015-02-16 11:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-16 10:59 Ignacy Gawedzki [this message]
2015-02-16 15:03 ` Attempt to auto-load em_cmp.ko results in negative module refcnt Ignacy Gawedzki
2015-02-16 18:13   ` [PATCH net] ematch: Fix auto-loading of ematch modules Ignacy Gawędzki
2015-02-16 18:36     ` Cong Wang
2015-02-16 18:50       ` Ignacy Gawędzki
2015-02-17 18:00         ` Cong Wang
2015-02-17 19:15           ` [PATCH net v2] " Ignacy Gawędzki
2015-02-18  5:17             ` Cong Wang
2015-02-20 20:31             ` David Miller

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=20150216105912.GA16798@zenon.in.qult.net \
    --to=ignacy.gawedzki@green-communications.fr \
    --cc=netdev@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox