SVNews r332622

NOTE: This service is experimental and subject to change! Use at your own risk!

2018-04-16 17:24:33 - r332622 by trasz (Edward Tomasz Napierala)

Complete list of files affected by revision r332622:

(Note: At the moment, these links point to ViewVC on svn.freebsd.org. They are probably slow. Do not overuse.)

   Contents     MODIFY   /stable/11  
  History   Contents   Diff   MODIFY   /stable/11/sys/cam/ctl/ctl_frontend_iscsi.c  
  History   Contents   Diff   MODIFY   /stable/11/sys/cam/ctl/ctl_frontend_iscsi.h  

Commit message:

MFC r331013:

Fix iSCSI target crash on session reinstation.

The crash scenario goes like this: there's a thread waiting on "reinstate";
because it doesn't update the timeout counter it gets terminated by the
callout; at this point the maintenance thread starts the termination routine.
The first thread finishes waiting, proceeds to icl_conn_handoff(), and drops
the refcount, which allows the maintenance thread to free its resources. At
this point another thread receives a PDU. Boom.

PR: 222898, 219866
Sponsored by: playkey.net

 


Powered by Python FreeBSD support by secnetix GmbH & Co. KG

Page generated in 16 ms, 3 files printed. Current time is 2018-04-23 15:11:37. All times are in UTC/GMT.