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

Hannes Reinecke
2017-05-30T15:14:38Z

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