Thread (2 messages) 2 messages, 2 authors, 2015-06-29

Re: [PATCH net] bnx2x: fix lockdep splat

From: David Miller <davem@davemloft.net>
Date: 2015-06-29 00:04:01

From: Eric Dumazet <redacted>
Date: Fri, 26 Jun 2015 07:32:29 +0200
From: Eric Dumazet <edumazet@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 <redacted> 
Signed-off-by: Eric Dumazet <edumazet@google.com>
Applied and queued up for -stable, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help