* [PATCH] i802.11: fixed memory leak on multicasts
@ 2007-04-24 7:38 Markus Pietrek
0 siblings, 0 replies; only message in thread
From: Markus Pietrek @ 2007-04-24 7:38 UTC (permalink / raw)
To: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 442 bytes --]
Hi,
socket buffers were not always freed when receiving multicasts
Bye,
--
Markus Pietrek
Lead Software Engineer
Phone: +49-7667-908-501, Fax: +49-7667-908-200
mailto:markus.pietrek@digi.com
FS Forth-Systeme GmbH
"A Digi International Company"
Kueferstr. 8, 79206 Breisach, Germany
Tax: 07008/12000 / VAT: DE142208834 / Reg. Amtsgericht Freiburg HRB 290212
Directors: Klaus Flesch, Subramanian Krishnan, Dieter Vesper
http://www.digi.com
[-- Attachment #2: patch_memleak_80211.txt --]
[-- Type: text/plain, Size: 790 bytes --]
Index: net/ieee80211/ieee80211_rx.c
===================================================================
RCS file: /data/vcs/cvs/fsforth_products/LxNETES/linux/net/ieee80211/ieee80211_rx.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -c -r1.5 -r1.6
*** net/ieee80211/ieee80211_rx.c 13 Apr 2007 12:39:38 -0000 1.5
--- net/ieee80211/ieee80211_rx.c 23 Apr 2007 15:51:28 -0000 1.6
***************
*** 860,868 ****
break;
}
! if (is_packet_for_us)
if (!ieee80211_rx(ieee, skb, stats))
dev_kfree_skb_irq(skb);
return;
drop_free:
--- 860,871 ----
break;
}
! if (is_packet_for_us) {
if (!ieee80211_rx(ieee, skb, stats))
dev_kfree_skb_irq(skb);
+ } else
+ dev_kfree_skb_irq(skb);
+
return;
drop_free:
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-04-24 7:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-24 7:38 [PATCH] i802.11: fixed memory leak on multicasts Markus Pietrek
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.