From: Yuval Mintz Date: Mon, 12 Aug 2013 23:25:03 +0000 (+0300) Subject: bnx2x: prevent crash in shutdown flow with CNIC X-Git-Tag: v3.11-rc6~11^2~15^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ef5a92cdf5ee65578a287b9a030964b03a538ed;p=pandora-kernel.git bnx2x: prevent crash in shutdown flow with CNIC There might be a crash as during shutdown flow CNIC might try to access resources already freed by bnx2x. Change bnx2x_close() into dev_close() in __bnx2x_remove (shutdown flow) to guarantee CNIC is notified of the device's change of status. Signed-off-by: Yuval Mintz Signed-off-by: Dmitry Kravkov Signed-off-by: Ariel Elior Signed-off-by: Eilon Greenstein Signed-off-by: David S. Miller --- Reading git-diff-tree failed