From: Eric Dumazet Date: Thu, 19 Mar 2015 00:40:51 +0000 (-0700) Subject: inet: add a schedule point in inet_twsk_purge() X-Git-Tag: omap-for-v4.2/o2_dc~131^2~209 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=738e6d30d392fb75933a5eb4b481811598038786;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed