Netdev List
 help / color / mirror / Atom feed
* Attempt to auto-load em_cmp.ko results in negative module refcnt
@ 2015-02-16 10:59 Ignacy Gawedzki
  2015-02-16 15:03 ` Ignacy Gawedzki
  0 siblings, 1 reply; 9+ messages in thread
From: Ignacy Gawedzki @ 2015-02-16 10:59 UTC (permalink / raw)
  To: netdev

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2015-02-20 20:31 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-16 10:59 Attempt to auto-load em_cmp.ko results in negative module refcnt Ignacy Gawedzki
2015-02-16 15:03 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox