From: Yi Zou Date: Sat, 9 Apr 2011 08:34:12 +0000 (+0000) Subject: ixgbe: do not clear FCoE DDP error status for received ABTS X-Git-Tag: v3.0-rc1~377^2~240 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7aba7b077f638deb9569e0b36256cd9ae76e468c;p=pandora-kernel.git ixgbe: do not clear FCoE DDP error status for received ABTS The ddp->err is initialized to be 1 to make sure outstanding DDP context is guaranteed to be invalidated when HW is not auto-invalidating it. However, in case of receiving ABTS response for a DDPed I/O, the ddp->err was cleared, bypassing the invalidating of the DDP context from upper protocol stack when ixgbe_fcoe_ddp_put() is called. This bug is fixed here by updating the error only when FCP_RSP is received. Signed-off-by: Yi Zou Tested-by: Ross Brattain Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed