From: Eric Dumazet <eric.duma...@gmail.com> Date: Mon, 10 Aug 2015 09:09:13 -0700
> From: Eric Dumazet <eduma...@google.com> > > reqsk_queue_destroy() and reqsk_queue_unlink() should use > del_timer_sync() instead of del_timer() before calling reqsk_put(), > otherwise we could free a req still used by another cpu. > > But before doing so, reqsk_queue_destroy() must release syn_wait_lock > spinlock or risk a dead lock, as reqsk_timer_handler() might > need to take this same spinlock from reqsk_queue_unlink() (called from > inet_csk_reqsk_queue_drop()) > > Fixes: fa76ce7328b2 ("inet: get rid of central tcp/dccp listener timer") > Signed-off-by: Eric Dumazet <eduma...@google.com> Applied and queued up for -stable. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html