firewire: net: better FIFO address range check and rcodes
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Tue, 16 Jun 2009 20:35:32 +0000 (22:35 +0200)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Tue, 16 Jun 2009 20:48:09 +0000 (22:48 +0200)
commit00635b8ee2b5650fd01f5602ecfa289db336b570
treecac06b270ad4ad7f4171c3b47206ebb9bb035428
parentb01b4babbf204443b5a846a7494546501614cefc
firewire: net: better FIFO address range check and rcodes

The AR req handler should not check the generation; higher level code
is the better place to handle bus generation changes.  The target node
ID just needs to be checked for not being the "all nodes" address; in
this case don't handle the request and don't respond.

Use Address_Error and Type_Error rcodes as appropriate.

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