Stefan Richter
7ee11fa8d0
firewire: net: fix memory leaks
...
a) fwnet_transmit_packet_done used to poison ptask->pt_link by list_del.
If fwnet_send_packet checked later whether it was responsible to clean
up (in the border case that the TX soft IRQ was outpaced by the AT-req
tasklet on another CPU), it missed this because ptask->pt_link was no
longer shown as empty.
b) If fwnet_write_complete got an rcode other than RCODE_COMPLETE, we
missed to free the skb and ptask entirely.
Also, count stats.tx_dropped and stats.tx_errors when rcode != 0.
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de >
2010-11-17 00:08:48 +01:00
..
2010-11-13 09:52:16 -08:00
2010-11-12 17:10:55 -05:00
2010-11-08 12:17:05 -08:00
2010-10-29 15:09:56 -07:00
2010-11-12 08:52:47 -08:00
2010-11-09 01:08:53 -02:00
2010-10-27 14:33:39 +09:00
2010-11-15 13:27:06 -08:00
2010-10-31 10:40:39 -04:00
2010-10-24 14:20:01 -07:00
2010-10-22 11:44:47 -04:00
2010-11-13 09:55:56 -08:00
2010-10-29 14:14:02 -07:00
2010-10-26 10:13:48 -07:00
2010-11-17 00:08:48 +01:00
2010-10-27 18:03:05 -07:00
2010-10-29 00:29:51 +02:00
2010-11-10 11:52:19 +10:00
2010-10-25 07:59:01 -07:00
2010-11-15 21:38:57 +01:00
2010-11-15 22:40:38 +01:00
2010-10-26 10:17:30 -07:00
2010-10-26 17:28:07 -07:00
2010-10-29 04:16:28 -04:00
2010-11-11 01:01:26 -08:00
2010-11-05 15:25:48 -07:00
2010-11-12 07:55:32 -08:00
2010-10-15 15:53:27 +02:00
2010-11-12 07:55:30 -08:00
2010-11-10 14:40:53 +01:00
2010-11-15 22:40:38 +01:00
2010-10-22 17:34:15 -07:00
2010-10-29 00:30:43 +02:00
2010-11-15 22:40:38 +01:00
2010-10-29 00:29:59 +02:00
2010-10-30 08:31:35 -07:00
2010-11-12 17:17:55 -08:00
2010-10-21 11:10:11 -06:00
2010-10-30 11:43:26 -07:00
2010-10-28 09:24:14 -07:00
2010-10-24 13:41:39 -07:00
2010-11-15 14:01:33 -08:00
2010-11-10 14:31:28 +01:00
2010-10-27 18:03:18 -07:00
2010-10-26 17:28:37 -07:00
2010-10-29 00:30:44 +02:00
2010-11-12 07:55:30 -08:00
2010-10-29 00:30:15 +02:00
2010-11-10 18:15:44 +09:00
2010-11-12 17:17:55 -08:00
2010-10-25 08:19:14 -07:00
2010-11-10 14:54:09 +01:00
2010-11-13 09:59:19 -08:00
2010-11-15 14:30:30 +09:00
2010-11-01 07:50:43 -04:00
2010-11-15 22:40:38 +01:00
2010-10-22 10:52:56 -07:00
2010-11-11 11:06:09 -08:00
2010-10-24 13:41:39 -07:00
2010-11-12 17:13:28 -08:00
2010-11-11 07:14:07 -08:00
2010-10-23 11:47:02 -07:00
2010-11-15 14:03:17 -08:00
2010-10-27 18:03:17 -07:00
2010-10-29 19:08:42 +01:00
2010-11-12 16:01:55 -08:00
2010-10-22 09:43:25 +02:00
2010-11-05 08:10:33 -07:00