Details
-
Bug
-
Resolution: Fixed
-
Medium
-
None
-
None
-
3
-
9223372036854775807
Description
req_can_reconstruct() can return -EPROTO which should be accounted in all related calls. Right now there are two places where discrepancies are possible:
- in tgt_handle_recovery() it is checked for 1 only, assuming 0 otherwise which is not true
- in tgt_check_resent() it is checked for not 0 case assuming it is 1 which is also not true