summaryrefslogtreecommitdiffstats
path: root/sys/netinet/sctp_usrreq.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2010-02-19 15:16:00 +0000
committerjhb <jhb@FreeBSD.org>2010-02-19 15:16:00 +0000
commit564efe918f4646894fcb8e37a93ce3f2c58c7fe9 (patch)
tree50b6c679e2769f5dbc7994fb3d824d792353a01c /sys/netinet/sctp_usrreq.c
parent3138bddc87f86b278db0fbb56f844e909a895754 (diff)
downloadFreeBSD-src-564efe918f4646894fcb8e37a93ce3f2c58c7fe9.zip
FreeBSD-src-564efe918f4646894fcb8e37a93ce3f2c58c7fe9.tar.gz
Fix mptutil's method for locating disk devices attached to a specific
mpt(4) controller. Previously, the code assumed that multiple match patterns provided to an XPT_DEV_MATCH request were ANDed together. Instead, they are ORed. Instead, to match peripherals for a specific bus, one query needs to be performed to lookup the path ID of the bus. A second query can then be performed matching peripherals attached to that path. This approach also makes the code a bit cleaner as the returned match results do not mix bus and perphierals. Reported by: several folks MFC after: 1 week
Diffstat (limited to 'sys/netinet/sctp_usrreq.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud