[ovs-git] [openvswitch/ovs] d91b1e: tunnel: Recreate tunnel port only when the netdev ...
GitHub
noreply at github.com
Sun Dec 14 00:35:08 UTC 2014
Branch: refs/heads/branch-2.3
Home: https://github.com/openvswitch/ovs
Commit: d91b1e0e53c09826b63e7c06ca5df0749ebd40fa
https://github.com/openvswitch/ovs/commit/d91b1e0e53c09826b63e7c06ca5df0749ebd40fa
Author: Alex Wang <alexw at nicira.com>
Date: 2014-12-13 (Sat, 13 Dec 2014)
Changed paths:
M ofproto/tunnel.c
Log Message:
-----------
tunnel: Recreate tunnel port only when the netdev status change.
On current master, the 'struct tnl_port' in tunnel module will be
recreated whenever the global connectivity sequence number changes
(e.g. when adding unrelated flow). This is unnecessary and could
cause drop of tunnel packet if a lookup happens between the removal
and recreate.
This commit fixes the above issue by only checking the netdev's own
sequence number.
Found by code inspection.
Signed-off-by: Alex Wang <alexw at nicira.com>
Acked-by: Joe Stringer <joestringer at nicira.com>
More information about the git
mailing list