]> git.proxmox.com Git - mirror_ovs.git/commitdiff
ovs-lib.in: Remove unnecessary conntrack flush
authorYi-Hung Wei <yihung.wei@gmail.com>
Tue, 30 Oct 2018 20:47:25 +0000 (13:47 -0700)
committerBen Pfaff <blp@ovn.org>
Wed, 31 Oct 2018 17:38:08 +0000 (10:38 -0700)
We introduced flush-conntrack in force-reload-kmod script by commit
8bea39b186ca ("datapath: Prevent panic") to prevent kernel panic.
It turns out that the kernel panic is actually triggered by the
IPv4 secret timer, and it is fixed by commit
121905984724 ("compat: Initialize IPv4 reassembly secret timer").

This commit removes the unnecessary conntrack flush in the script.

Signed-off-by: Yi-Hung Wei <yihung.wei@gmail.com>
CC: Greg Rose <gvrose8192@gmail.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
Reviewed-by: Greg Rose <gvrose8192@gmail.com>
utilities/ovs-lib.in

index f6b539317a3067948ca7bec4aada86fa33bb5333..7df672c2c7bccb3ecd3d016c2dd22e173228560c 100644 (file)
@@ -608,9 +608,6 @@ force_reload_kmod () {
     stop_ovsdb
     start_ovsdb || return 1
 
-    if [ -n "$(ovs-dpctl show)" ]; then
-        action "Flush old conntrack entries" ovs-appctl dpctl/flush-conntrack
-    fi
     stop_forwarding
 
     if action "Saving interface configuration" save_interfaces; then