Skip to content
Commit f3d671c7 authored by Dan Carpenter's avatar Dan Carpenter Committed by Paolo Abeni
Browse files

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: ecad2ce8 ("octeontx2-af: cn10k: Add mailbox to configure reassembly timeout")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/YpXDrTPb8qV01JSP@kili


Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
parent c4caa500
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment