diff options
author | William Tu <u9012063@gmail.com> | 2019-01-09 11:34:09 -0800 |
---|---|---|
committer | Ben Pfaff <blp@ovn.org> | 2019-01-09 12:28:10 -0800 |
commit | 886367d9490b2218c6b8875fd84176679ac4a24d (patch) | |
tree | 8e9f3c5dbe8ada848230c4db83df335f2366cfdd /Documentation | |
parent | 46df7fac76ce6646707af45726dae16aeea41182 (diff) | |
download | openvswitch-886367d9490b2218c6b8875fd84176679ac4a24d.tar.gz |
faq: unload kernel module when non-zero refcnt.
Describe the issue about reference count and how to
drop it and unload the kernel module.
Signed-off-by: William Tu <u9012063@gmail.com>
Cc: Greg Rose <gvrose8192@gmail.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/faq/issues.rst | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Documentation/faq/issues.rst b/Documentation/faq/issues.rst index 8a30dad37..b5a6dd073 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 |