summaryrefslogtreecommitdiffstats
path: root/fs/autofs
diff options
context:
space:
mode:
authorStefan Richter <stefanr@s5r6.in-berlin.de>2008-07-22 21:35:47 +0200
committerStefan Richter <stefanr@s5r6.in-berlin.de>2008-07-25 20:10:32 +0200
commitc0220d686b926a5865a2032c805015758bfdda69 (patch)
tree2b1dd1177e9e24ccea13c517054e78c5abc2eee0 /fs/autofs
parent95984f62c9b0bf6d89ef4f514b1afe73623481de (diff)
downloadblackbird-obmc-linux-c0220d686b926a5865a2032c805015758bfdda69.tar.gz
blackbird-obmc-linux-c0220d686b926a5865a2032c805015758bfdda69.zip
firewire: avoid memleak after phy config transmit failure
Use only statically allocated data for PHY config packet transmission. With the previous incarnation, some data wouldn't be freed if the packet transmit callback was never called. A theoretical drawback now is that, in PCs with more than one card, card A may complete() for a waiter on card B. But this is highly unlikely and its impact not serious. Bus manager B may reset bus B before the PHY config went out, but the next phy config on B should be fine. However, with a timeout of 100ms, this situation is close to impossible. Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'fs/autofs')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud