From: Amit Kumar Salecha Date: Thu, 22 Apr 2010 02:51:41 +0000 (+0000) Subject: qlcnic: protect resource access X-Git-Tag: v2.6.35-rc1~473^2~409 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=780ab790f5099727baff6fa056bba6c5c7c2587a;p=pandora-kernel.git qlcnic: protect resource access We do netif_device_attach, even if resource allocation fails. Driver callbacks can be called, if device is attached. All these callbacks need to be protected by ADAPTER_UP_MAGIC check. Signed-off-by: Amit Kumar Salecha Signed-off-by: David S. Miller --- Reading git-diff-tree failed