public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] libfc: fix potential timer list corruption
@ 2017-05-30 15:14 Hannes Reinecke
  2017-05-30 15:14 ` [PATCH 1/3] libfc: move 'pending' and 'requested' setting Hannes Reinecke
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Hannes Reinecke @ 2017-05-30 15:14 UTC (permalink / raw)
  To: Martin K. Petersen
  Cc: Christoph Hellwig, James Bottomley, Johannes Thumshirn,
	linux-scsi, Hannes Reinecke

Hi all,

we've seen reports for a crash with an invalid timer_list->function,
which turned out to be an unsafe usage of libfc discovery callbacks.
This patchset fixes up the problem

As usual, comments and reviews are welcome.

Hannes Reinecke (3):
  libfc: move 'pending' and 'requested' setting
  libfc: only restart discovery after timeout if not already running
  libfc: fixup locking in fc_disc_stop()

 drivers/scsi/libfc/fc_disc.c | 26 +++++++++++++++++++-------
 1 file changed, 19 insertions(+), 7 deletions(-)

-- 
1.8.5.6

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-05-31  9:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-30 15:14 [PATCH 0/3] libfc: fix potential timer list corruption Hannes Reinecke
2017-05-30 15:14 ` [PATCH 1/3] libfc: move 'pending' and 'requested' setting Hannes Reinecke
2017-05-30 15:14 ` [PATCH 2/3] libfc: only restart discovery after timeout if not already running Hannes Reinecke
2017-05-30 15:14 ` [PATCH 3/3] libfc: fixup locking in fc_disc_stop() Hannes Reinecke
2017-05-31  9:27 ` [PATCH 0/3] libfc: fix potential timer list corruption Johannes Thumshirn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox