[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200309.183310.64095245470909485.davem@davemloft.net>
Date: Mon, 09 Mar 2020 18:33:10 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: edumazet@...gle.com
Cc: netdev@...r.kernel.org, eric.dumazet@...il.com, maheshb@...gle.com
Subject: Re: [PATCH net] ipvlan: do not use cond_resched_rcu() in
ipvlan_process_multicast()
From: Eric Dumazet <edumazet@...gle.com>
Date: Mon, 9 Mar 2020 18:22:58 -0700
> Commit e18b353f102e ("ipvlan: add cond_resched_rcu() while
> processing muticast backlog") added a cond_resched_rcu() in a loop
> using rcu protection to iterate over slaves.
>
> This is breaking rcu rules, so lets instead use cond_resched()
> at a point we can reschedule
>
> Fixes: e18b353f102e ("ipvlan: add cond_resched_rcu() while processing muticast backlog")
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
> Cc: Mahesh Bandewar <maheshb@...gle.com>
Applied, thanks for the quick fix Eric.
Powered by blists - more mailing lists