lkml.org 
[lkml]   [2003]   [May]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] fix kfree(skb) in iphase driver
This patch fixes a kfree(skb) in the iphase driver.

Best regards,
Patrick

# 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
\
 
 \ /
  Last update: 2005-03-22 13:35    [W:0.086 / U:0.272 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site