]> git.baikalelectronics.ru Git - kernel.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)
commite0cec85032d0209dba54bdbca6faeb127e8b3010
tree5ae5587507b07ff4832d1f3c53fe4dd01a8636d3
parentc836378d55d34670e66d48f53d0dddcb968967bb
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