From: Michael Albaugh Date: Thu, 15 Mar 2007 21:45:08 +0000 (-0700) Subject: IB/ipath: Fix driver crash (in interrupt or during unload) after chip reset X-Git-Tag: v2.6.22-rc1~1126^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27b044a815df7d4530bc68560796680ed588070c;p=pandora-kernel.git IB/ipath: Fix driver crash (in interrupt or during unload) after chip reset Re-init of the kernel structures after a chip reset was leaving the portdata structure for port zero in an inconsistent state, and a pointer to it either stale (in re-init code) or NULL (in devdata) Fixing the order of operations on this struct, and the condition for interrupt access, prevents the crashes. Signed-off-by: Bryan O'Sullivan Signed-off-by: Roland Dreier --- Reading git-diff-tree failed