diff options
author | neel <neel@FreeBSD.org> | 2013-03-11 17:36:37 +0000 |
---|---|---|
committer | neel <neel@FreeBSD.org> | 2013-03-11 17:36:37 +0000 |
commit | c92442accdb43d9e4c23e8caf1bc0cd35c7a9409 (patch) | |
tree | d90834066b805f4c9590eabada032fdb405e94a6 /lib/libugidfw | |
parent | 0b0a5d2fe0a4de3957980af2bef27f9eb6b21768 (diff) | |
download | FreeBSD-src-c92442accdb43d9e4c23e8caf1bc0cd35c7a9409.zip FreeBSD-src-c92442accdb43d9e4c23e8caf1bc0cd35c7a9409.tar.gz |
Convert the offset into the bar that contains the MSI-X table to an offset
into the MSI-X table before using it to calculate the table index.
In the common case where the MSI-X table is located at the begining of the
BAR these two offsets are identical and thus the code was working by accident.
This change will fix the case where the MSI-X table is located in the middle
or at the end of the BAR that contains it.
Obtained from: NetApp
Diffstat (limited to 'lib/libugidfw')
0 files changed, 0 insertions, 0 deletions