diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2011-02-16 09:32:11 (GMT) |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2011-02-26 14:11:03 (GMT) |
commit | e81cbebdfc384f9c2ae91225f16ef994118e5e2c (patch) | |
tree | 7bdb493f5bbb2d175966a8bd5336145c9e871ac3 /drivers/serial | |
parent | 5aaffc65a27dd9db65455c2c9ab3ede57238d2f5 (diff) | |
download | linux-fsl-qoriq-e81cbebdfc384f9c2ae91225f16ef994118e5e2c.tar.xz |
firewire: ohci: prevent iso completion callbacks after context stop
To prevent the iso packet callback from being called after
fw_iso_context_stop() has returned, make sure that the
context's tasklet has finished executing before that.
This fixes access-after-free bugs that have so far been
observed only in the upcoming snd-firewire-speakers driver,
but can theoretically also happen in the firedtv driver.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/serial')
0 files changed, 0 insertions, 0 deletions