Skip to content
Commit a882d20c authored by Wei Yongjun's avatar Wei Yongjun Committed by David S. Miller
Browse files

cxgb4: fix error return code in cxgb4_set_hash_filter()



Fix to return a negative error code from thecxgb4_alloc_atid()
error handling case instead of 0.

Fixes: 12b276fb ("cxgb4: add support to create hash filters")
Signed-off-by: default avatarWei Yongjun <weiyongjun1@huawei.com>
Acked-By: default avatarKumar Sanghvi <kumaras@chelsio.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent eba0c929
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