From: Vladislav Bolkhovitin <vst@vlnb.net>
To: linux-driver@qlogic.com
Cc: linux-scsi@vger.kernel.org
Subject: Question about scsi_qla_host_t.fcports list protection (qla2xxx)
Date: Tue, 15 Aug 2006 14:18:59 +0400 [thread overview]
Message-ID: <44E19F93.2020305@vlnb.net> (raw)
Hello
Looking at the qla2xxx driver source code I noticed that
scsi_qla_host_t.fcports is used without any protection. For instance,
qla2x00_loop_reset() walks over this list. This function is called from
qla2xxx_eh_bus_reset(), which could be called at any time. What does
protect fcports from being changed, eg, by some async loop event during
the walking and eventually oops'ing? Do I miss something? There are many
such unprotected fcports list usages in the driver.
Vlad
next reply other threads:[~2006-08-15 10:19 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-15 10:18 Vladislav Bolkhovitin [this message]
2006-08-16 17:57 ` [Suspected Spam:#] Question about scsi_qla_host_t.fcports list protection (qla2xxx) Andrew Vasquez
2006-08-17 9:58 ` Vladislav Bolkhovitin
2006-09-05 10:08 ` [Suspected Spam:#] " Vladislav Bolkhovitin
2006-09-05 11:30 ` Vladislav Bolkhovitin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=44E19F93.2020305@vlnb.net \
--to=vst@vlnb.net \
--cc=linux-driver@qlogic.com \
--cc=linux-scsi@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.