From: Eugenia Emantayev Date: Sun, 18 Mar 2012 04:32:08 +0000 (+0000) Subject: mlx4_core: fix race on comm channel X-Git-Tag: v3.4-rc1~177^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=58a3de0592454c216c68427fa3c31a34823f5115;p=pandora-kernel.git mlx4_core: fix race on comm channel Prevent race condition between commands on comm channel. Happened while unloading the driver when switching from event to polling mode. VF got completion on the last command before switching to polling mode, but toggle was not changed. After the fix - VF will not write the next command before toggle is updated. Signed-off-by: Eugenia Emantayev Signed-off-by: David S. Miller --- Reading git-diff-tree failed