diff options
author | Amit Kumar Salecha <amit.salecha@qlogic.com> | 2010-06-21 23:19:04 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-06-23 16:16:31 -0400 |
commit | d626ad4d84dba1e5bf176320e19765e6dc539b04 (patch) | |
tree | 8635e69996c729d4fed5eb8e6d77f8111ce50e2a /drivers/net/qlcnic/qlcnic.h | |
parent | 68bf1c68a4b3d9ad0a98f3310f2f79dca075a035 (diff) |
qlcnic: mark context state freed after destroy
After destroying recv ctx, context state remain same.
Fix it by marking as FREED.
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')
-rw-r--r-- | drivers/net/qlcnic/qlcnic.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/qlcnic/qlcnic.h b/drivers/net/qlcnic/qlcnic.h index 6ec34a7fba65..7fa761ac15c2 100644 --- a/drivers/net/qlcnic/qlcnic.h +++ b/drivers/net/qlcnic/qlcnic.h | |||
@@ -573,7 +573,7 @@ struct qlcnic_recv_context { | |||
573 | /* | 573 | /* |
574 | * Context state | 574 | * Context state |
575 | */ | 575 | */ |
576 | 576 | #define QLCNIC_HOST_CTX_STATE_FREED 0 | |
577 | #define QLCNIC_HOST_CTX_STATE_ACTIVE 2 | 577 | #define QLCNIC_HOST_CTX_STATE_ACTIVE 2 |
578 | 578 | ||
579 | /* | 579 | /* |