Skip to content

libfc: fix potential timer list corruption

Hannes Reinecke linux-scsi 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3libfc: move 'pending' and 'requested' settingdrivers/scsi/libfc/fc_disc.c+6 -30 replies
2/3libfc: only restart discovery after timeout if not already runningdrivers/scsi/libfc/fc_disc.c+5 -30 replies
3/3libfc: fixup locking in fc_disc_stop()drivers/scsi/libfc/fc_disc.c+10 -30 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJohannes Thumshirn
SeriesA-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] libfc: fix potential timer list corruption

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(-)
Signature · 1 line
1.8.5.6