netdev
[Top] [All Lists]

pktgen problem (skb refcount) in 2.6.12-rc1

To: netdev@xxxxxxxxxxx
Subject: pktgen problem (skb refcount) in 2.6.12-rc1
From: Harald Welte <laforge@xxxxxxxxxxxx>
Date: Sat, 2 Apr 2005 21:11:32 +0200
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: mutt-ng 1.5.8-r168i (Debian)
Hi!

I've tried to get pktgen running on 2.6.12-rc1 (dual-opteron system, two
dual e1000 boards).  

It transmits the requested amount of packets, but the kernel thread(s)
will continue to use 100% cpu even after that.

I've tried to track the problem down, and I've confirmed that skb->users
never goes down to 1 but instead stays at '2'.

Therefore the while loop at line 2706 loops forever.  Killing the kernel
thread or configuring the interface down helps (as a kludge).  However,
the e1000 module will refuse to unload since apparently it's still
referenced by that skb.

The system is otherwise idle, and no fancy modules such as
netfilter/iptables are loaded.

The same system with the same pktgen script works fine with 2.6.11.6.

I'm reporting this since it seems like it sounds like we have a skb
usage count leak somewhere :(

-- 
- Harald Welte <laforge@xxxxxxxxxxxx>                   http://gnumonks.org/
============================================================================
"Privacy in residential applications is a desirable marketing option."
                                                  (ETSI EN 300 175-7 Ch. A6)

Attachment: pgp6kQUZA3o0L.pgp
Description: PGP signature

<Prev in Thread] Current Thread [Next in Thread>