]> git.baikalelectronics.ru Git - kernel.git/commit
firewire: don't panic on invalid AR request buffer
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Sat, 31 May 2008 17:01:26 +0000 (19:01 +0200)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Wed, 18 Jun 2008 22:12:34 +0000 (00:12 +0200)
commit47125a1b1a90c881d78a176f9e8c68d8bc1aff56
treecfd10d0025df679ee525aacfbc7479e8fffe90aa
parent4b757c8437c007c55d5e4c5c12ca25527e2c3ba2
firewire: don't panic on invalid AR request buffer

BUG() at this place is wrong.  (Unless if the low level driver would
already do higher-level input validation of incoming request headers.)

Invalid incoming requests or bugs in the controller which corrupt the
AR-req buffer needlessly crashed the box because this is run in tasklet
context.

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