]> git.baikalelectronics.ru Git - kernel.git/commit
firewire: Survive more than 256 bus resets
authorJay Fenlason <fenlason@redhat.com>
Thu, 16 Oct 2008 19:51:59 +0000 (15:51 -0400)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Sun, 26 Oct 2008 09:26:59 +0000 (10:26 +0100)
commitac4e5a0284ae245b4e6e4da42b67184e7d1868fc
tree72ba1bd1f03d2b6372c067f917de0092dd76ce30
parentd54dcb973b400fe86b765183bbda7e528543c02c
firewire: Survive more than 256 bus resets

The "color" is used during the topology building after a bus reset,
hovever in "struct fw_node"s it is stored in a u8, but in struct fw_card
it is stored in an int.  When the value wraps in one struct, but not
the other, disaster strikes.

Signed-off-by: Jay Fenlason <fenlason@redhat.com>
Fixes http://bugzilla.kernel.org/show_bug.cgi?id=10922.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/firewire/fw-transaction.h