From: Eric Dumazet <eric.duma...@gmail.com> Date: Fri, 26 Jun 2015 07:32:29 +0200
> From: Eric Dumazet <eduma...@google.com> > > Michel reported following lockdep splat ... > As bnx2x_init_ptp() is only called if bp->flags contains PTP_SUPPORTED, > we also need to guard bnx2x_stop_ptp() with same condition, otherwise > ptp_task workqueue is not initialized and kernel barfs on > cancel_work_sync() > > Fixes: eeed018cbfa30 ("bnx2x: Add timestamping and PTP hardware clock > support") > Reported-by: Michel Lespinasse <wal...@google.com> > Signed-off-by: Eric Dumazet <eduma...@google.com> Applied and queued up for -stable, thanks. -- 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