From: Eric Dumazet <eric.duma...@gmail.com>
Date: Tue, 14 Feb 2017 09:03:51 -0800

> From: Eric Dumazet <eduma...@google.com>
> 
> Multiple threads can call fanout_add() at the same time.
> 
> We need to grab fanout_mutex earlier to avoid races that could
> lead to one thread freeing po->rollover that was set by another thread.
> 
> Do the same in fanout_release(), for peace of mind, and to help us
> finding lockdep issues earlier.
> 
> Fixes: dc99f600698d ("packet: Add fanout support.")
> Fixes: 0648ab70afe6 ("packet: rollover prepare: per-socket state")
> Signed-off-by: Eric Dumazet <eduma...@google.com>

Applied and queued up for -stable, thanks.

Reply via email to