diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2022-05-31 09:28:45 +0200 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2022-06-01 11:49:44 +0200 |
commit | f3d671c711097a133bc36bd2bde52f1fcca783a6 (patch) | |
tree | 167850545115de075a30b4b1c3c95aea414ac228 /fs | |
parent | bonding: guard ns_targets by CONFIG_IPV6 (diff) | |
download | linux-f3d671c711097a133bc36bd2bde52f1fcca783a6.tar.xz linux-f3d671c711097a133bc36bd2bde52f1fcca783a6.zip |
octeontx2-af: fix error code in is_valid_offset()
The is_valid_offset() function returns success/true if the call to
validate_and_get_cpt_blkaddr() fails.
Fixes: ecad2ce8c48f ("octeontx2-af: cn10k: Add mailbox to configure reassembly timeout")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/YpXDrTPb8qV01JSP@kili
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions