author: Chris Mi <cmi@nvidia.com> 2020-12-08 10:48:35 +0800
committer: David S. Miller <davem@davemloft.net> 2020-12-09 16:08:33 -0800
commit: 5137d303659d8c324e67814b1cc2e1bc0c0d9836
parent: 8ef44b6fe49d2b8d03ba9aa69063612b474f963b
Commit Summary:
Diffstat:
1 file changed, 1 insertion, 3 deletions
diff --git a/net/core/flow_offload.c b/net/core/flow_offload.c
index d4474c812b64..715b67f6c62f 100644
--- a/net/core/flow_offload.c
+++ b/net/core/flow_offload.c
@@ -381,10 +381,8 @@ static void __flow_block_indr_cleanup(void (*release)(void *cb_priv),
list_for_each_entry_safe(this, next, &flow_block_indr_list, indr.list) {
if (this->release == release &&
- this->indr.cb_priv == cb_priv) {
+ this->indr.cb_priv == cb_priv)
list_move(&this->indr.list, cleanup_list);
- return;
- }
}
}