From: Patrick McHardy <kaber@trash.net>
To: Jeff Garzik <jgarzik@pobox.com>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: [PATCH] fix kfree(skb) in iphase driver
Date: Thu, 08 May 2003 23:58:09 +0200 [thread overview]
Message-ID: <3EBAD2F1.9090802@trash.net> (raw)
[-- Attachment #1: Type: text/plain, Size: 76 bytes --]
This patch fixes a kfree(skb) in the iphase driver.
Best regards,
Patrick
[-- Attachment #2: iphase-kfree-skb.diff --]
[-- Type: text/plain, Size: 900 bytes --]
# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
# ChangeSet 1.1198 -> 1.1199
# drivers/atm/iphase.c 1.14 -> 1.15
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 03/05/08 kaber@trash.net 1.1199
# fix kfree(skb)
# --------------------------------------------
#
diff -Nru a/drivers/atm/iphase.c b/drivers/atm/iphase.c
--- a/drivers/atm/iphase.c Thu May 8 23:56:27 2003
+++ b/drivers/atm/iphase.c Thu May 8 23:56:27 2003
@@ -2965,7 +2965,7 @@
dev_kfree_skb_any(skb);
return 0;
}
- kfree(skb);
+ dev_kfree_skb_any(skb);
skb = newskb;
}
/* Get a descriptor number from our free descriptor queue
next reply other threads:[~2003-05-08 21:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-08 21:58 Patrick McHardy [this message]
2003-05-09 23:10 ` [PATCH] fix kfree(skb) in iphase driver chas williams
2003-05-09 23:49 ` Patrick McHardy
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=3EBAD2F1.9090802@trash.net \
--to=kaber@trash.net \
--cc=jgarzik@pobox.com \
--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;
as well as URLs for NNTP newsgroup(s).