]> git.karo-electronics.de Git - linux-beck.git/commit
firewire: core: use more outbound tlabels
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Sun, 14 Jun 2009 11:23:58 +0000 (13:23 +0200)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Sun, 14 Jun 2009 12:23:42 +0000 (14:23 +0200)
commit1e626fdcef61460dc75fe7377f38bb019722b848
tree5ae5587507b07ff4832d1f3c53fe4dd01a8636d3
parent837ec787d85fda8d73193a399ebcea0288e4765b
firewire: core: use more outbound tlabels

Tlabel is a 6 bits wide datum.  Wrap it after 63 rather than 31 for more
safety against transaction label exhaustion and potential responders'
transaction layer bugs.  (As noted by Guus Sliepen, this change requires
an expansion of tlabel_mask to 64 bits.)

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