From: Faisal Latif Date: Sat, 22 Nov 2008 02:50:41 +0000 (-0600) Subject: RDMA/nes: Lock down connected_nodes list while processing it X-Git-Tag: v2.6.29-rc1~583^2^6~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=879e5bd5a1a0a317fb67fa4dc550db092a7bdcb0;p=pandora-kernel.git RDMA/nes: Lock down connected_nodes list while processing it While processing connected_nodes list, we would release the lock when we need to send reset to remote partner. That created a window where the list can be modified. Change this into a two step process: place nodes that need processing on a local list then process the local list. Signed-off-by: Faisal Latif Signed-off-by: Chien Tung Signed-off-by: Roland Dreier --- Reading git-diff-tree failed