diff options
author | Paulo Alcantara <paulo@paulo.ac> | 2018-06-15 15:58:00 -0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2018-06-15 19:17:40 -0500 |
commit | 83ffdeadb46b61580c4c9a5319bd76d258a2963d (patch) | |
tree | a6118338b9763022fb49934c1d27bde6f9e97747 /Documentation/perf | |
parent | 35e2cc1ba755cf9dbd042e308b2928c868767a98 (diff) |
cifs: Fix invalid check in __cifs_calc_signature()
The following check would never evaluate to true:
> if (i == 0 && iov[0].iov_len <= 4)
Because 'i' always starts at 1.
This patch fixes it and also move the header checks outside the for loop
- which makes more sense.
Signed-off-by: Paulo Alcantara <palcantara@suse.de>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'Documentation/perf')
0 files changed, 0 insertions, 0 deletions