From: Bryan O'Sullivan Date: Sat, 1 Jul 2006 11:36:15 +0000 (-0700) Subject: [PATCH] IB/ipath: fix a bug that results in addresses near 0 being written via DMA X-Git-Tag: v2.6.18-rc1~212 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35783ec07c3f7f6902abe4433e7be1b664d0bbaf;p=pandora-kernel.git [PATCH] IB/ipath: fix a bug that results in addresses near 0 being written via DMA We can't tell for sure if any packets are in the infinipath receive buffer when we shut down a chip port. Normally this is taken care of by orderly shutdown, but when processes are terminated, or sending process has a bug, we can continue to receive packets. So rather than writing zero to the address registers for the closing port, we point it at a dummy memory. Signed-off-by: Dave Olson Signed-off-by: Bryan O'Sullivan Cc: "Michael S. Tsirkin" Cc: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed