diff options
author | Eric Dumazet <edumazet@google.com> | 2015-03-19 00:40:51 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-03-19 02:38:13 (GMT) |
commit | 738e6d30d392fb75933a5eb4b481811598038786 (patch) | |
tree | 768a37f5be81bf3dd1f9453460bb740df122320f /net/8021q | |
parent | db19170bc0a254b46c732ea4bdf1c6cf0de6b38b (diff) | |
download | linux-738e6d30d392fb75933a5eb4b481811598038786.tar.xz |
inet: add a schedule point in inet_twsk_purge()
On a large hash table, we can easily spend seconds to
walk over all entries. Add a cond_resched() to yield
cpu if necessary.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/8021q')
0 files changed, 0 insertions, 0 deletions