diff options
author | Amit Kumar Salecha <amit.salecha@qlogic.com> | 2010-04-22 02:51:41 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-22 15:28:31 -0700 |
commit | 780ab790f5099727baff6fa056bba6c5c7c2587a (patch) | |
tree | 7d49abe211e17afec4337c8b1aaf0ca7be7edfc5 /lib/prio_heap.c | |
parent | ed6f1353e195b4432e251667b2d84d766d07c79c (diff) |
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 'lib/prio_heap.c')
0 files changed, 0 insertions, 0 deletions