diff mbox series

[ovs-dev,PATCHv2] faq: unload kernel module when non-zero refcnt.

Message ID 1547065503-6250-1-git-send-email-u9012063@gmail.com
State Accepted
Commit 886367d9490b2218c6b8875fd84176679ac4a24d
Headers show
Series [ovs-dev,PATCHv2] faq: unload kernel module when non-zero refcnt. | expand

Commit Message

William Tu Jan. 9, 2019, 8:25 p.m. UTC
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>
 Documentation/faq/issues.rst | 14 ++++++++++++++
 1 file changed, 14 insertions(+)


0-day Robot Jan. 9, 2019, 8:58 p.m. UTC | #1
Bleep bloop.  Greetings William Tu, I am a robot and I have tried out your patch.
Thanks for your contribution.

I encountered some error that I wasn't expecting.  See the details below.

Failed to merge in the changes.
Patch failed at 0001 faq: unload kernel module when non-zero refcnt.
The copy of the patch that failed is found in:
When you have resolved this problem, run "git am --resolved".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".

Please check this out.  If you feel there has been an error, please email aconole@bytheb.org

0-day Robot
diff mbox series


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