/** @file\r
Udp6 driver's whole implementation.\r
\r
- Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>\r
+ Copyright (c) 2009 - 2012, Intel Corporation. All rights reserved.<BR>\r
\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
}\r
\r
IpIoDestroy (Udp6Service->IpIo);\r
-\r
+ Udp6Service->IpIo = NULL;\r
+ \r
return Status;\r
}\r
\r
// Destroy the IpIo.\r
//\r
IpIoDestroy (Udp6Service->IpIo);\r
+ Udp6Service->IpIo = NULL;\r
+ \r
+ ZeroMem (Udp6Service, sizeof (UDP6_SERVICE_DATA));\r
}\r
\r
\r
Instance->IcmpError = EFI_SUCCESS;\r
Instance->Configured = FALSE;\r
Instance->IsNoMapping = FALSE;\r
- Instance->Destroyed = FALSE;\r
+ Instance->InDestroy = FALSE;\r
}\r
\r
\r