summaryrefslogtreecommitdiff
path: root/lib/kobject_uevent.c
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 /lib/kobject_uevent.c
parented6f1353e195b4432e251667b2d84d766d07c79c (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/kobject_uevent.c')
0 files changed, 0 insertions, 0 deletions