From: Graham Gower <graham.gower@gmail.com>
To: linux-kernel@vger.kernel.org, prism54-devel@prism54.org
Subject: [PATCH] [TRIVIAL] prism54/islpci_eth.c: dev_kfree_skb in irq context
Date: Tue, 3 Jan 2006 02:15:50 +1030 [thread overview]
Message-ID: <6ec4247d0601020745s2b6a486dg@mail.gmail.com> (raw)
dev_kfree_skb shouldn't be used in an IRQ context.
Signed-off-by: Graham Gower <graham.gower@gmail.com>
--- linux/drivers/net/wireless/prism54/islpci_eth.c.orig 2006-01-03
01:23:27.000000000 +1030
+++ linux/drivers/net/wireless/prism54/islpci_eth.c 2006-01-03
00:38:46.000000000 +1030
@@ -178,7 +178,7 @@
#endif
newskb->dev = skb->dev;
- dev_kfree_skb(skb);
+ dev_kfree_skb_irq(skb);
skb = newskb;
}
}
@@ -242,7 +242,7 @@
drop_free:
/* free the skbuf structure before aborting */
- dev_kfree_skb(skb);
+ dev_kfree_skb_irq(skb);
skb = NULL;
priv->statistics.tx_dropped++;
next reply other threads:[~2006-01-02 15:45 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-02 15:45 Graham Gower [this message]
2006-01-02 16:37 ` [PATCH] [TRIVIAL] prism54/islpci_eth.c: dev_kfree_skb in irq context Daniel Drake
-- strict thread matches above, loose matches on Subject: below --
2006-01-03 9:58 Roger While
2006-01-03 12:19 ` Graham Gower
2006-01-03 13:11 ` Patrick McHardy
2006-01-03 23:03 ` Graham Gower
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=6ec4247d0601020745s2b6a486dg@mail.gmail.com \
--to=graham.gower@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=prism54-devel@prism54.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.