aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/qlcnic/qlcnic.h
diff options
context:
space:
mode:
authorAmit Kumar Salecha <amit.salecha@qlogic.com>2010-04-22 02:51:41 +0000
committerDavid S. Miller <davem@davemloft.net>2010-04-22 15:28:31 -0700
commit780ab790f5099727baff6fa056bba6c5c7c2587a (patch)
tree7d49abe211e17afec4337c8b1aaf0ca7be7edfc5 /drivers/net/qlcnic/qlcnic.h
parentqlcnic: fix rcv buffer leak (diff)
downloadlinux-dev-780ab790f5099727baff6fa056bba6c5c7c2587a.tar.xz
linux-dev-780ab790f5099727baff6fa056bba6c5c7c2587a.zip
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 <amit.salecha@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/qlcnic/qlcnic.h')
0 files changed, 0 insertions, 0 deletions