linux/drivers/firewire
Stefan Richter 92368890d5 firewire: core: improve check for local node
My recently added test for a device being local in fw-cdev.c got it
slightly wrong:  Comparisons of node IDs are only valid if the
generation is current, which I forgot to check.  Normally, serialization
by card->lock takes care of this, but a device in FW_DEVICE_GONE state
will necessarily have a wrong generation and invalid node_id.

The "is it local?" check is made 100% correct and simpler now by means
of a struct fw_device flag which is set at fw_device creation.

Besides the fw-cdev site which was to be fixed, there is another site
which can make use of the new flag, and an RFC-2734 driver will benefit
from it too.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
2009-05-17 14:13:47 +02:00
..
fw-card.c firewire: core: optimize propagation of BROADCAST_CHANNEL 2009-03-24 20:56:52 +01:00
fw-cdev.c firewire: core: improve check for local node 2009-05-17 14:13:47 +02:00
fw-device.c firewire: core: improve check for local node 2009-05-17 14:13:47 +02:00
fw-device.h firewire: core: improve check for local node 2009-05-17 14:13:47 +02:00
fw-iso.c firewire: normalize a variable name 2009-03-24 20:56:48 +01:00
fw-ohci.c firewire: implement asynchronous stream transmission 2009-03-24 20:56:49 +01:00
fw-ohci.h firewire: fw-ohci: log regAccessFail events 2008-04-18 17:55:34 +02:00
fw-sbp2.c firewire: remove line breaks before function names 2009-03-24 20:56:40 +01:00
fw-topology.c firewire: core: optimize propagation of BROADCAST_CHANNEL 2009-03-24 20:56:52 +01:00
fw-topology.h firewire: core: topology header fix 2009-03-24 20:56:43 +01:00
fw-transaction.c firewire: core: drop unused call parameters of close_transaction 2009-03-24 20:56:51 +01:00
fw-transaction.h firewire: core: optimize propagation of BROADCAST_CHANNEL 2009-03-24 20:56:52 +01:00
Kconfig firewire: Kconfig help update 2008-08-19 18:47:56 +02:00
Makefile firewire: prefix modules with firewire- instead of fw- 2007-05-27 23:21:01 +02:00