]> git.proxmox.com Git - mirror_ovs.git/commit - lib/netlink-socket.c
windows: Crash when the handle communication device cannot be found
authorAlin Serdean <aserdean@cloudbasesolutions.com>
Thu, 13 Apr 2017 19:25:45 +0000 (19:25 +0000)
committerBen Pfaff <blp@ovn.org>
Fri, 14 Apr 2017 04:51:00 +0000 (21:51 -0700)
commitd553dd54b33b255d042265a4563e66efc01480df
treed61e1c7a42a90aa9602701655b0ca4f61baceff9
parent07e0337bd6c9f479883ae6f863430c0846b4c4c7
windows: Crash when the handle communication device cannot be found

When trying to uninstall/disable the OVS extension the driver will
fail to unload properly(require reboot)/hang until ovs-vswitchd is closed.

The root cause of this behavior is because the handles from ovs-vswitchd
to the kernel communication devices are still opened although the
actual device was removed from the kernel.

Trying to close the handles will also fail because they do not exist.

The remaining option is to cause a crash and rely on the service manager
to restart ovs-vswitchd.

Reported-at: https://github.com/openvswitch/ovs-issues/issues/27
Reported-by: Alin Gabriel Serdean <aserdean@cloudbasesolutions.com>
Signed-off-by: Alin Gabriel Serdean <aserdean@cloudbasesolutions.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
lib/netlink-socket.c