Skip to content
Commit 0097e86c authored by Dan Carpenter's avatar Dan Carpenter Committed by David S. Miller
Browse files

net: ethernet: mtk_eth_soc: fix error code in mtk_flow_offload_replace()



Preserve the error code from mtk_foe_entry_commit().  Do not return
success.

Fixes: c4f033d9 ("net: ethernet: mtk_eth_soc: rework hardware flow table management")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 682a8c63
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment