Revert "sock_map: Add a cond_resched() in sock_hash_free()"

This reverts commit 566ecb4ff1.
This commit is contained in:
Ksawlii 2024-11-24 00:23:30 +01:00
parent 3d5ca7967a
commit b7f3288f98

View file

@ -1219,7 +1219,6 @@ static void sock_hash_free(struct bpf_map *map)
sock_put(elem->sk);
sock_hash_free_elem(htab, elem);
}
cond_resched();
}
/* wait for psock readers accessing its map link */