Re: [PATCH 1/2] firewire: catch self_id_count == 0

From: Stefan Richter
Date: Wed Mar 19 2008 - 17:43:43 EST


I wrote:
> --- linux.orig/drivers/firewire/fw-topology.c
> +++ linux/drivers/firewire/fw-topology.c
> @@ -513,6 +513,11 @@ fw_core_handle_bus_reset(struct fw_card
>
> fw_flush_transactions(card);
>
> + if (self_id_count == 0) {
> + fw_destroy_nodes(card);
> + return;
> + }

We may also want to update some other card-> members, pull the topology
map down, and whatnot...
--
Stefan Richter
-=====-==--- --== =--==
http://arcgraph.de/sr/


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/