summaryrefslogtreecommitdiffstats
path: root/include/asm-x86_64/setup.h
diff options
context:
space:
mode:
authorRalph Campbell <ralph.campbell@qlogic.com>2007-06-18 14:24:44 -0700
committerRoland Dreier <rolandd@cisco.com>2007-07-09 20:12:26 -0700
commit30d149ab58cc3ed8e4bc9c4dc45bebbed0e84b6e (patch)
treef85f47458efb9e98f01b490a539dbf873bbaddd9 /include/asm-x86_64/setup.h
parentdb5518cd09c21f0fa70af0a4ca38badd90622c9e (diff)
downloadblackbird-obmc-linux-30d149ab58cc3ed8e4bc9c4dc45bebbed0e84b6e.tar.gz
blackbird-obmc-linux-30d149ab58cc3ed8e4bc9c4dc45bebbed0e84b6e.zip
IB/ipath: Fix possible data corruption if multiple SGEs used for receive
The code to copy data from the receive queue buffers to the IB SGEs doesn't check the SGE length, only the memory region/page length when copying data. This could overwrite parts of the user's memory that were not intended to be written. It can only happen if multiple SGEs are used to describe a receive buffer which almost never happens in practice. Signed-off-by: Ralph Campbell <ralph.campbell@qlogic.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'include/asm-x86_64/setup.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud