diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-02-08 15:00:39 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-02-08 15:00:39 -0800 |
commit | 2fc1b5dd99f66d93ffc23fd8df82d384c1a354c8 (patch) | |
tree | 7a0cdb9d0c683a7f7883f96a903eda997c90e2df /scripts/bin2c.c | |
parent | d696c7bdaa55e2208e56c6f98e6bc1599f34286d (diff) |
dst: call cond_resched() in dst_gc_task()
Kernel bugzilla #15239
On some workloads, it is quite possible to get a huge dst list to
process in dst_gc_task(), and trigger soft lockup detection.
Fix is to call cond_resched(), as we run in process context.
Reported-by: Pawel Staszewski <pstaszewski@itcare.pl>
Tested-by: Pawel Staszewski <pstaszewski@itcare.pl>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/bin2c.c')
0 files changed, 0 insertions, 0 deletions