diff options
author | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2010-08-16 23:45:54 +0200 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2010-08-19 20:28:25 +0200 |
commit | 1bf145fed572583d4cb7c1784689a0b42c997ba6 (patch) | |
tree | 3ef524b2af2ea77f2ea99478b8a4058a8cf07d13 /fs/nfsd/nfs4callback.c | |
parent | a481e97d3cdc40b9d58271675bd4f0abb79d4872 (diff) | |
download | linux-stable-1bf145fed572583d4cb7c1784689a0b42c997ba6.tar.gz linux-stable-1bf145fed572583d4cb7c1784689a0b42c997ba6.tar.bz2 linux-stable-1bf145fed572583d4cb7c1784689a0b42c997ba6.zip |
firewire: net: fix unicast reception RCODE in failure paths
The incoming request hander fwnet_receive_packet() expects subsequent
datagram handling code to return non-zero on errors. However, almost
none of the failure paths did so. Fix them all.
(This error reporting is used to send and RCODE_CONFLICT_ERROR to the
sender node in such failure cases. Two modes of failure exist: Out of
memory, or firewire-net is unaware of any peer node to which a fragment
or an ARP packet belongs. However, it is unclear whether a sender can
actually make use of such information. A Linux peer apparently can't.
Maybe it should all be simplified to void functions.)
Reported-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'fs/nfsd/nfs4callback.c')
0 files changed, 0 insertions, 0 deletions