Describe the issue about reference count and how to drop it and unload the kernel module.
Signed-off-by: William Tu <[email protected]> Cc: Greg Rose <[email protected]> --- Documentation/faq/issues.rst | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Documentation/faq/issues.rst b/Documentation/faq/issues.rst index 8a30dad37da0..70bcb12cdaf1 100644 --- a/Documentation/faq/issues.rst +++ b/Documentation/faq/issues.rst @@ -419,3 +419,17 @@ Q: I just upgraded and I see a performance drop. Why? To get the best possible performance and functionality, it is recommended to pair the same versions of the kernel module and OVS userspace. + +Q: I can't unload the openvswitch kernel module. Why? + + A: The userspace might still hold the reference count. + So ``rmmod openvswitch`` does not work, for example:: + + $ lsmod | grep openvswitch + openvswitch 155648 4 + nf_conncount 24576 1 openvswitch + + Use the command below to drop the refcnt:: + + $ ovs-dpctl del-dp system@ovs-system + $ rmmod openvswitch -- 2.7.4 _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
