mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Sriram Narasimhan" <nsri@tataelxsi.co.in>
To: linux-kernel@vger.kernel.org
Subject: sk_buff doubt
Date: Fri, 11 Apr 2003 22:32:15 +0530	[thread overview]
Message-ID: <3E96F517.7020002@tataelxsi.co.in> (raw)

Hello,

A doubt in sk_buff. I am running the fcc_enet driver provided in the PPC 
architecture tree for MPC8260 on ADS board.
Kernel version is 2.4.1. The driver has been modified to be loaded as a 
module.
When IFNET provides the sk_buff to transmit I store them up in an array 
and at transmit complete I release the sk_buff.

When the module is unloaded, I release all the sk_buffs.
When I release the sk_buff I get the following output. Am I doing 
anything wrong here ?
-----------------------------------------------------------------------------------------

# ifconfig eth1 10.1.70.56 netmask 255.255.0.0 up
eth1: config: auto-negotiation on, 10FDX, 10HDX.
# ping 10.1.1.1
Inside fcc_enet_start_xmit... skb: c01e5c60
Inside fcc_enet_start_xmit... skb: c01e5620
Inside fcc_enet_start_xmit... skb: c01e5080
No response from 10.1.1.1
# lsmod
Module                  Size  Used by
enet                   12512   0  (unused)
# rmmod enet
Warning: kfree_skb passed an skb still on a list (from c208360c).
kernel BUG at skbuff.c:277!
Oops: Exception in kernel mode, sig: 4

-----------------------------------------------------------------------------------------

Sriram


                 reply	other threads:[~2003-04-11 16:51 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=3E96F517.7020002@tataelxsi.co.in \
    --to=nsri@tataelxsi.co.in \
    --cc=linux-kernel@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

all inboxes | Powered by JetHome®