Re: [PATCH v2] notifier: Fix soft lockup for notifier_call_chain().

From: Cong Wang
Date: Tue Jun 28 2016 - 13:34:36 EST


On Mon, Jun 27, 2016 at 11:22 PM, Eric Dumazet <eric.dumazet@xxxxxxxxx> wrote:
> Lot of this code was written decade ago where nobody expected a root
> user was going to try hard to crash its host ;)

+1

Adding cond_resched() to appropriate network notifiers sounds better.