]> git.baikalelectronics.ru Git - kernel.git/commit
IB/qib: Clear eager buffer memory for each new process
authorRalph Campbell <ralph.campbell@qlogic.com>
Thu, 17 Jun 2010 23:13:59 +0000 (23:13 +0000)
committerRoland Dreier <rolandd@cisco.com>
Tue, 6 Jul 2010 21:13:21 +0000 (14:13 -0700)
commit0ea7434cb7009cb19ba0f59220e78105ae1f4ef5
tree79022d504cfb79c471a2b25d2b6396a516bd88c3
parentcb934fc15c4042c8eb99c8889a8bbf2b4454afdd
IB/qib: Clear eager buffer memory for each new process

The eager buffers are not being cleared before being mmapped into a
new user address space.  This is a potential security risk and should
be fixed.  Note that the eager header queue is already being cleared.

Signed-off-by: Ralph Campbell <ralph.campbell@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/qib/qib_init.c