datapath-windows: Re-init the list entry in OvsDeleteVportCmdHandler().
authorNithin Raju <nithin@vmware.com>
Fri, 24 Oct 2014 00:33:08 +0000 (17:33 -0700)
committerBen Pfaff <blp@nicira.com>
Tue, 28 Oct 2014 15:34:17 +0000 (08:34 -0700)
commit66695bfde768934aabe89079b453d8975e73e29f
tree19158afe3a85bedfa3074785f77b9ea2eab8e294
parent3a6de110099860e0cc5f518b5f91a5db19fcc05d
datapath-windows: Re-init the list entry in OvsDeleteVportCmdHandler().

Without this patch, the kernel crashes when it tries to cleanup a port
at unload time when a port has been previously deleted from userspace.
Crash is in OvsRemoveAndDeleteVport() when we call into
RemoveEntryList().

Signed-off-by: Nithin Raju <nithin@vmware.com>
Acked-by: Alin Gabriel Serdean <aserdean@cloudbasesolutions.com>
Tested-by: Alin Gabriel Serdean <aserdean@cloudbasesolutions.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
datapath-windows/ovsext/Datapath.c