]> err.no Git - linux-2.6/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)
commit0bf607c5b4edd13362e4add6ca1e81f8a9fbd47c
treecfd10d0025df679ee525aacfbc7479e8fffe90aa
parent952f4a0a9b27e6dbd5d32e330b3f609ebfa0b061
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